var tickspeed=3000
var enablesubject=1
if(document.getElementById){document.write('<style type="text/css">\n')
document.write('.top_banner{display:none;}\n')
document.write('.top_banner1{display:none;}\n')
document.write('</style>\n')}
var selectedDiv=0
var totalDivs=0
var selectedDiv1=0
var totalDivs1=0
function contractall(){var inc=0
while(document.getElementById("dropmsg"+inc)){document.getElementById("dropmsg"+inc).style.display="none"
inc++}}
function expandone(){var selectedDivObj=document.getElementById("dropmsg"+selectedDiv)
contractall()
selectedDivObj.style.display="block"
selectedDiv=(selectedDiv<totalDivs-1)?selectedDiv+1:0
setTimeout("expandone()",tickspeed)}
function startscroller(){while(document.getElementById("dropmsg"+totalDivs)!=null)
totalDivs++
expandone()}
if(window.addEventListener)
window.addEventListener("load",startscroller,false)
else if(window.attachEvent)
window.attachEvent("onload",startscroller)
var intTotalItems=0;var intLastNumber=0;var objDiv,objContentDiv;var tickerDelay=4000;function startTicker(){objDiv=document.getElementById("contentscroller");objContentDiv=document.getElementById("displayedcontent");if(objDiv&&objContentDiv){for(var i=0;i<objDiv.childNodes.length;i++){var item=objDiv.childNodes[i];if(item.nodeName.toLowerCase()=="li"&&item.id==""){item.setAttribute("id",intTotalItems);intTotalItems++;}}
objCurrentContent=document.getElementById("a"+intLastNumber);if(objCurrentContent)
objContentDiv.innerHTML=objCurrentContent.innerHTML;intLastNumber++;setTimeout("changeContent()",tickerDelay);}}
function changeContent(){intTotalItems=14;objCurrentContent=document.getElementById("a"+intLastNumber);startOpacityChange('displayedcontent',100,0,1000);setTimeout("startOpacityChange('displayedcontent', 0, 100, 1000)",1000);setTimeout("document.getElementById('displayedcontent').innerHTML = objCurrentContent.innerHTML;",1005);if(intLastNumber==(intTotalItems-1))
intLastNumber=0;else
intLastNumber++;setTimeout("changeContent();",tickerDelay);}
function startOpacityChange(strId,intOpacStart,intOpacEnd,intMillisec){var intSpeed=Math.round(intMillisec/100);var intTimer=0;if(intOpacStart>intOpacEnd){for(i=intOpacStart;i>=intOpacEnd;i--){setTimeout("changeOpacity("+i+",'"+strId+"')",(intTimer*intSpeed));intTimer++;}}
else if(intOpacStart<intOpacEnd){for(i=intOpacStart;i<=intOpacEnd;i++){setTimeout("changeOpacity("+i+",'"+strId+"')",(intTimer*intSpeed));intTimer++;}}}
function changeOpacity(intOpacity,id){var objLI=document.getElementById(id).style;objLI.opacity=(intOpacity/100);objLI.MozOpacity=(intOpacity/100);objLI.KhtmlOpacity=(intOpacity/100);objLI.filter="alpha(opacity="+intOpacity+")";}



var menu10=new Array()
menu10[0]='<a href="http://www.unichost.com/cpanel-hosting.php" title="Shared Hosting">cPanel Shared Hosting</a>'
menu10[1]='<a href="http://www.unichost.com/windows-hosting.php" title="Windows Hosting">Windows ASP Hosting</a>'
menu10[2]='<a href="http://www.unichost.com/reseller-hosting.php" title="Reseller Hosting">cPanel Reseller Hosting</a>'
menu10[3]='<a href="http://www.unichost.com/windows-reseller-hosting.php" title="Windows Reseller Hosting">Windows Reseller Hosting</a>'
menu10[4]='<a href="http://www.unichost.com/cpanel-hosting.php" title="Business Email">Business Email Hosting</a>'
var menu20=new Array()
menu20[0]='<a href="http://www.unichost.com/vps-hosting.php" title="Linux VPS">VPS Hosting - Linux</a>'
menu20[1]='<a href="http://www.unichost.com/vps-hosting.php" title="Windows VPS">Windows VPS Hosting</a>'
menu20[2]='<a href="http://www.unichost.com/dedicated-servers.php" title="Linux Dedicated Server">Linux Dedicated Server</a>'
menu20[3]='<a href="http://www.unichost.com/dedicated-servers.php" title="Windows Dedicated Server">Windows Dedicated Server</a>'
var menu30=new Array()
menu30[0]='<a href="http://www.unichost.com/domain-registration.php" title="Register Cheap Domain">Domain Registration</a>'
menu30[1]='<a href="http://www.unichost.com/ecommerce-hosting.php" title="eCommerce Hosting">eCommerce Solutions</a>'
menu30[2]='<a href="http://www.unichost.com/payment-gateway-india.php" title="Payment Gateway India">Payment Gateway</a>'
menu30[3]='<a href="http://www.unichost.com/ssl-certificates.php" title="SSL Certificates">SSL Certificates</a>'
menu30[4]='<a href="http://reseller.unichost.com" target="_blank" title="Domain Reseller Hosting">Domain Reseller Program</a>'
menu30[5]='<a href="http://client.unichost.com/affiliates.php" target="_blank" title="Hosting Affiliate">Affiliate Program</a>'
menu30[6]='<a href="http://www.unichost.com/#server-management.php" target="_blank" title="Outsource Technical Support">Server Management</a>'
var menu40=new Array()
menu40[0]='<a href="http://www.unichost.com/kb/" target="_blank" title="Find answers on Hosting">Hosting Knowledgebase</a>'
menu40[1]='<a href="http://tutorials.unichost.com/" target="_blank" title="Tutorials on Web Hosting">Flash Tutorials</a>'
menu40[2]='<a href="http://client.unichost.com/submitticket.php?step=2&deptid=1" target="_blank" title="Contact Support">Contact Support</a>'
menu40[3]='<a href="http://client.unichost.com/submitticket.php?step=2&deptid=2" target="_blank" title="Contact Sales">Contact Sales</a>'
var menu50=new Array()
menu50[0]='<a href="http://www.unichost.com/client-testimonials.php" title="Client Testimonials">Testimonials</a>'
menu50[1]='<a href="http://www.unichost.com/why-unic-hosting-services.php" title="Affordable services by Unichost">Why Unichost</a>'
menu50[2]='<a href="http://www.unichost.com/datacenter-network.php" title="Hosting Datacenter">Network and Datacenter</a>'
menu50[3]='<a href="http://www.unichost.com/careers.php" title="Career in Hosting">Current Openings</a>'
menu50[4]='<a href="http://www.unichost.com/contact-us.php" title="Contact Us">Contact Us</a>'
menu50[5]='<a href="http://www.unichost.com/" title="Hosting Site Map">Site Map</a>'
var menu60=new Array()
menu60[0]='<a href="http://client.unichost.com/register.php" target="_blank" title="Register for Free">Register Now</a>'
menu60[1]='<a href="http://client.unichost.com/clientarea.php" target="_blank" title="Portal Login">Portal Login</a>'
menu60[3]='<a href="http://dcp.unichost.com/whois.jsp" target="_blank" title="Domain Whois Lookup">Domain Whois Lookup</a>'
menu60[4]='<a href="http://client.unichost.com/announcements.php" target="_blank" title="News on Hosting">Announcements</a>'
menu60[5]='<a href="http://www.unichost.com:2095/" target="_blank" title="WebMail Login">WebMail Login</a>'
menu60[6]='<a href="http://www.unichost.com:2082/" target="_blank" title="Hosting Control Panel">Hosting Control Panel</a>'

var menuwidth='220px'
var menubgcolor='#31353B'
var disappeardelay=250
var hidemenu_onclick="yes"
var internetExplorer6=document.all
var netscapeNavigator6=document.getElementById&&!document.all
if(internetExplorer6||netscapeNavigator6)
document.write('<div id="dropmenudiv" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
function getposOffset(what,offsettype){var totaloffset=(offsettype=="left")?what.offsetLeft:what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){totaloffset=(offsettype=="left")?totaloffset+parentEl.offsetLeft:totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}
return totaloffset;}
function showhide(obj,e,visible,hidden,menuwidth){if(internetExplorer6||netscapeNavigator6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if(menuwidth!=""){dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth}
if(e.type=="click"&&obj.visibility==hidden||e.type=="mouseover")
obj.visibility=visible
else if(e.type=="click")
obj.visibility=hidden}
function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}
function clearbrowseredge(obj,whichedge){var edgeoffset=0
if(whichedge=="rightedge"){var windowedge=internetExplorer6&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if(windowedge-dropmenuobj.x<dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}
else{var topedge=internetExplorer6&&!window.opera?iecompattest().scrollTop:window.pageYOffset
var windowedge=internetExplorer6&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if(windowedge-dropmenuobj.y<dropmenuobj.contentmeasure){edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge}}
return edgeoffset}
function populatemenu(what){if(internetExplorer6||netscapeNavigator6)
dropmenuobj.innerHTML=what.join("")}
function dropdownmenu(obj,e,menucontents,menuwidth){if(window.event)event.cancelBubble=true
else if(e.stopPropagation)e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById?document.getElementById("dropmenudiv"):dropmenudiv
populatemenu(menucontents)
if(internetExplorer6||netscapeNavigator6){showhide(dropmenuobj.style,e,"visible","hidden",menuwidth)
dropmenuobj.x=getposOffset(obj,"left")
dropmenuobj.y=getposOffset(obj,"top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj,"rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj,"bottomedge")+obj.offsetHeight+"px"}
return clickreturnvalue()}
function clickreturnvalue(){if(internetExplorer6||netscapeNavigator6)return false
else return true}
function contains_netscapeNavigator6(a,b){while(b.parentNode)
if((b=b.parentNode)==a)
return true;return false;}
function dynamichide(e){if(internetExplorer6&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if(netscapeNavigator6&&e.currentTarget!=e.relatedTarget&&!contains_netscapeNavigator6(e.currentTarget,e.relatedTarget))
delayhidemenu()}
function hidemenu(e){if(typeof dropmenuobj!="undefined"){if(internetExplorer6||netscapeNavigator6)
dropmenuobj.style.visibility="hidden"}}
function delayhidemenu(){if(internetExplorer6||netscapeNavigator6)
delayhide=setTimeout("hidemenu()",disappeardelay)}
function clearhidemenu(){if(typeof delayhide!="undefined")
clearTimeout(delayhide)}
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
