initNav = function() {
	var navRoot = document.getElementById("quicklinks");
	if (navRoot) {
	var lis = navRoot.getElementsByTagName("li");
	for (var i=0; i<lis.length; i++)
	{
		var drops = lis[i].getElementsByTagName("ul");
		if (drops.length)
		{
			lis[i].onmouseover = function()
			{
				this.className += " hover";
			}
			lis[i].onmouseout = function()
			{
				this.className = this.className.replace("hover", "");
			}
		}
	}
	}
}


if (window.addEventListener){
	window.addEventListener("load", initNav, false);
}
else if (window.attachEvent){
	window.attachEvent("onload", initNav);
}

function On(tname) {
   tpname = tname + "1";
   var navRoot = document.getElementById("news1");
   navRoot.className="";
   var navRoot = document.getElementById("events1");
   navRoot.className="";	 
   var navRoot = document.getElementById("resources1");
   navRoot.className="";	
  var navRoot = document.getElementById(tpname);
   navRoot.className="active";	
   
   var navRoot = document.getElementById("news");
   navRoot.style.visibility="hidden";
   var navRoot = document.getElementById("events");
   navRoot.style.visibility="hidden";		 
   var navRoot = document.getElementById("resources");
   navRoot.style.visibility="hidden";		
   var navRoot = document.getElementById(tname);
   navRoot.style.visibility="visible";		

}    

function Show(tname) {   
   var navRoot = document.getElementById("promo1");
   navRoot.style.visibility="hidden";		 
   var navRoot = document.getElementById("promo2");
   navRoot.style.visibility="hidden";		
   var navRoot = document.getElementById(tname);
   navRoot.style.visibility="visible";		

}    

function show_product()
{

var prod = new Array();
prod[0]='<ul class="actions"><li><a href="/de/products/ws/" name="&lid=homepage_products_ws_learnmore">Learn More</a></li><li><a href="/de/vmwarestore/buyworkstation.html" name="&lid=homepage_products_ws_buy">Buy Online</a></li></ul><a href="/de/products/ws/" name="&lid=homepage_products_ws_badge" class="image"><img src="/files/images/home/badge_hp_wstation.gif" alt="VMware Workstation" /></a><p>Evaluate this award-winning desktop virtualization software for software developers/testers and IT professionals.<br /><br /></p>';
prod[1]='<ul class="actions"><li><a href="/de/products/fusion/" name="&lid=homepage_products_fusion_learnmore">Learn More</a></li><li><a href="http://www.vmware.com/go/buyfusion" name="&lid=homepage_products_fusion_buy">Buy Now</a></li></ul><a href="/de/products/fusion/" name="&lid=homepage_products_fusion_badge" class="image"><img src="/files/images/home/badge_hp_fusion.gif" alt="VMware Fusion" /></a><p>Run Windows and other PC operating systems alongside Mac OS X &mdash; safely and easily &mdash; without the need to reboot your computer.<br /><br /></p>';
prod[2]='<ul class="actions"><li><a href="/de/products/ace/overview.html" name="&lid=homepage_products_ace_learnmore">Learn More</a></li><li><a href="/de/vmwarestore/buyace.html" name="&lid=homepage_products_ace_buy">Buy Online</a></li></ul><a href="/de/products/ace/" name="&lid=homepage_products_ace_badge" class="image"><img src="/files/images/home/badge_hp_ace.gif" alt="VMware ACE" /></a><p>Take control of virtual desktops in the enterprise.  Explore how virtualization can help you deliver secure, managed virtual desktops to users with ease.<br /><br /></p>';
prod[3]='<ul class="actions" style="width:80px;"><li><a href="/de/products/vi/overview.html" name="&lid=homepage-de_products_vi_learnmore">Weitere Infos</a></li><li><a href="/de/vmwarestore/debuyVI3.html"  name="&lid=homepage-de_products_vi_buy">Online Kaufen</a></li></ul><a href="/de/products/vi/" name="&lid=homepage-de_products_vi_badge" class="image"><img src="/files/images/home/badge_hp_vi3.gif" alt="VMware Infrastructure 3" /></a><p>VMware Infrastructure 3 ist die f&uuml;hrende Virtualisierungssoftware der n&auml;chsten Generation und hilft Umgebungen in Rechenzentren zu optimieren.<br /><br /></p>';
prod[4]='<ul class="actions"><li><a href="/de/products/labmanager/overview.html" name="&lid=homepage_products_labmanager_learnmore">Learn More</a></li><li><a href="/de/vmwarestore/buylabmanager.html" name="&lid=homepage_products_labmanager_buy">Buy</a></li></ul><a href="/de/products/labmanager/" name="&lid=homepage_products_labmanager_badge" class="image"><img src="/files/images/home/badge_hp_labmanager.gif" alt="VMware Lab Manager" /></a><p>Accelerate software development and testing with virtual lab automation.<br /><br /></p>';
prod[5]='<ul class="actions"><li><a href="/de/products/server/overview.html" name="&lid=homepage_products_server_learnmore">Learn More</a></li><li><a href="/de/vmwarestore/buyserver.html" name="&lid=homepage_products_server_buy">Buy Add-On</a></li></ul><a href="/de/products/server/" name="&lid=homepage_products_server_badge" class="image"><img src="/files/images/home/badge_hp_server.gif" alt="VMware Server" /></a><p>Start experiencing the benefits of server virtualization. Free Virtualization for Windows or Linux Servers.<br /><br /></p>';

var rand = Math.round(Math.random()*(prod.length-1));


rand = 3;
document.write (prod[rand]);

}
