function w(str)
    {
    document.write(str);
    }

function WriteMenu()
    {
    w("<li><a href=\"index.html\">Virtual Machines</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"hosting.html\">Web & Email</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"sitebuilder.html\">Site Builder</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"why.html\">Why CloudClaim</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"support.html\">Support </a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"resellers.html\">Partner</a></li>");
}

function WriteMenu_new()
    {
    w("<li><a href=\"comparison.html\" style=\"padding-left: 53px;padding-right: 53px;\">Cloud Hosting Plans</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"comparisonvps.html\" style=\"padding-left: 53px;padding-right: 53px;\">Cloud VPS</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"resellers.html\" style=\"padding-left: 53px;padding-right: 53px;\">Cloud Reseller</a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"support.html\" style=\"padding-left: 53px;padding-right: 53px;\">Support </a></li>");
    w("<li><div class=\"seperator\"></div></li>");
    w("<li><a href=\"contact-us.html\" style=\"padding-left: 53px;padding-right: 53px;\">Contact Us</a></li>");
}

function WriteLiveSupportLink() {

//<img src="images/onlinesupport.jpg" width="208" height="54" alt="Online Support" />
w("<div id=\"livesupport\" class=\"contacts\">");
  
w("<!-- http://www.LiveZilla.net Chat Button Link Code -->");
w("<div style=\"text-align:center;width:208px;\">");
w("<a href=\"javascript:void(window.open('http://livesupport.cloudclaim.com/livezilla.php','','width=590,height=550,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))\">");
w("<img src=\"http://livesupport.cloudclaim.com/image.php?id=03\" width=\"208\" height=\"54\" border=\"0\" alt=\"LiveZilla Live Help\"></a>");
w("<noscript><div><a href=\"http://livesupport.cloudclaim.com/livezilla.php\" target=\"_blank\">Start Live Help Chat</a></div></noscript><div style=\"margin-top:2px;\">");
//w("<a href=\"http://www.livezilla.net\" target=\"_blank\" title=\"LiveZilla Live Help\" style=\"font-size:10px;color:#bfbfbf;text-decoration:none;font-family:verdana,arial,tahoma;\">LiveZilla Live Help</a>");
w("</div></div><!-- http://www.LiveZilla.net Chat Button Link Code -->");
w("<!-- http://www.LiveZilla.net Tracking Code -->");
w("<div id=\"livezilla_tracking\" style=\"display:none\"></div>");
w("<script type=\"text/javascript\">var script = document.createElement(\"script\");script.type=\"text/javascript\";var src = \"http://livesupport.cloudclaim.com/server.php?request=track&output=jcrpt&nse=\"+Math.random();setTimeout(\"script.src=src;document.getElementById('livezilla_tracking').appendChild(script)\",1);</script>");
w("<!-- http://www.LiveZilla.net Tracking Code -->");
w("</div>");
}

function WriteFooter() 
    {
    var d = new Date();
    var curr_year = d.getFullYear();


    w("<div class=\"bottom\">");
    w("<div id=\"bt_text1\"><a href=\"index.html\">Virtual Machines</a> | ");
    w("<a href=\"hosting.html\">Web & Email</a> | ");
    w("<a href=\"sitebuilder.html\">Site Builder</a> | ");
    w("<a href=\"why.html\">Why CloudClaim</a> | ");
    w("<a href=\"support.html\">Support</a> | ");
    w("<a href=\"resellers.html\">Partner</a><br />");
    w("<a href=\"TOS.html\">TOS</a> | ");
    w("<a href=\"SLA.html\">SLA</a> | ");
    w("<a href=\"PP.html\">Privacy Policy</a><br />");
    w("Copyright &copy;" + curr_year + " All rights reserved.");    
    
    w("</div>");
    w("<div id=\"bt_links\"><img src=\"images/bt_links.jpg\" alt=\"Facebook, Twitter, MySpace\" width=\"214\" height=\"78\" border=\"0\" usemap=\"#Map\" />");
    w("<map name=\"Map\" id=\"Map\">");
    w("<area shape=\"rect\" target=\"_blank\" coords=\"36,29,76,68\" href=\"http://www.facebook.com/pages/CloudClaim/121393527892166\" alt=\"Facebook\" />");
    w("<area shape=\"rect\" target=\"_blank\" coords=\"90,27,129,66\" href=\"http://twitter.com/CloudClaim\" alt=\"Twitter\" />");
    w("<area shape=\"rect\" target=\"_blank\" coords=\"137,28,180,68\" href=\"http://www.myspace.com/535711583\" alt=\"MySpace\" />");
    w("</map>");
    w("</div>");
    }


function WriteClientLogin() 
    {
	
	w("<div class=\"clientlogin\">");
	w("<div id=\"cl_text1\">Client Login</div>");
	w("<div id=\"cl_form\">");
	w("<table width=\"200\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"black12\">");
	w("<form target=\"_top\" method=\"post\" id=\"loginform\" name=\"loginform\" action=\"https://host.cloudclaim.com/cp/login.cgi\">");
	w("<tr>");
	w("<td class=\"black12\">Login ID:</td>");
	w("</tr>");
	w("<tr>");
	w("<td><label>");
	w("<input type=\"text\" class=\"black12\" id=\"Name\" name=\"Name\" size=\"30\" />");
	w("</label></td>");
	w("</tr>");
	w("<tr>");
	w("<td height=\"28\" valign=\"bottom\">Password:</td>");
	w("</tr>");
	w("<tr>");
	w("<td><input type=\"password\" class=\"black12\" id=\"password\" name=\"password\" size=\"30\" /></td>");
	w("</tr>");
	w("<tr>");
	w("<td height=\"23\">&nbsp;</td>");
	w("</tr>");
	w("<tr>");
	w("<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
	w("<tr>");
	w("<td width=\"60%\"><a href=\"https://host.cloudclaim.com/cp/login.cgi/act,remind\" class=\"black12\">Forgot Password?</a></td>");
	w("<td width=\"40%\"><label>");
	w("<input type=hidden id=\"frame_url\" name=\"frame_url\" value=\"\">");
	w("<input type=\"hidden\" id=\"ret_url\" name=\"ret_url\" value=\"aHR0cHM6Ly9ob3N0LmNsb3VkY2xhaW0uY29tL2NwLw==\">");
	w("<table width=\"\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr>");
	w("<td>");
	w("<img width=\"5\" height=\"21\" border=\"0\" alt=\"\" src=\"images/SignIn_ButtonLeft.gif\">");
	w("</td>");
	w("<td nowrap=\"\" background=\"images/SignIn_ButtonCenter.gif\" align=\"center\" style=\"width: 81px;\">");
	w("<input type=\"submit\" value=\"&nbsp;Sign In&nbsp;\" name=\"Save\" id=\"Save\" ");
	w("style=\"background:url('images/SignIn_ButtonCenter.gif') repeat scroll 0 0 transparent; border:0 solid; color:#FFFFFF; display:inline; font-size:11px; height:21px; padding:0;\">");
	w("</td>");
	w("<td>");
	w("<img width=\"5\" height=\"21\" border=\"0\" alt=\"\" src=\"images/SignIn_ButtonRight.gif\">");
	w("</td>");
	w("</tr></table>");
	w("");
	w("</label></td>");
	w("</tr>");
	w("</table></td>");
	w("</tr>");
	w("</form>");
	w("</table>");
	w("</div>");
	w("</div>"); 
    }
    

