//------------------------
// Copyright 2001 CSI.
//------------------------
var xpos;
var ypos;
var wid;
var newwindow;


function poptastic(menulinks)

{
	window.open(menulinks);

}


if (navigator.appName == "Netscape") {
	var scrX = window.innerWidth;
	ypos = 16;
	if (screen.width >=1024)
		ypos+=50;
}
else {
	var scrX = document.body.offsetWidth-20;
	ypos = 17;
	if (screen.width >=1024)
		ypos+=28;
	
}
wid = 125;
if (navigator.appName == "Netscape")
{
	xtmp = 0;
	//alert(scrX);
	if ((scrX-750-20) < 0)
	{
		if (fromindex)
			xtmp = 1;
		xtmp+=10 + 247;
	}
	else
	{
		xtmp+=scrX - (scrX-750)/2-501;
	}
}
else
{
	xtmp=1
	if(is_ie4 && fromindex)
		xtmp = 1
	else if(is_ie4 && !fromindex)
		xtmp = 2
	if ((scrX-750) < 0) // when the page width is greater than the window width (ie when horizontal scrollbar is coming)
	{
		xtmp+=10 + 245;
	}
	else
	{
		if (fromindex)
			xtmp -=1 ;
		xtmp+=scrX - (scrX-750)/2-502+7;
	}
}
xpos=Math.floor(xtmp);
if (xpos <= 0) xpos = offsetval;
menutext = "ffffff";
menuback = "343434";
hovertext = "6698CB";
hoverback = "000000";
menuborder = "343434";
seprcolor = "343434";
//ADDED BY PUNIT
//if (screen.width >800 )
//{
	xpos=150;
ypos = ypos + 70;
//}
//else
//{
//	xpos = 5;
//ypos = ypos + 102;
//}

//end here

//menu settings start here
arMenu1 = new Array(
wid,
xpos,ypos,
menutext,hovertext,
menuback,hoverback,
menuborder,seprcolor,
"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;About Siemens PLM Software India<br><img src='spacer.gif' height='1'>","about_siemens-plm-software.asp",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Blog<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://siemens.pmhclients.com/')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Careers<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/careers/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Customer Case Studies and Videos<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/success/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Events and Webinars<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/about_us/events_webinars/')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Facts and Philosophy<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/facts_philosophy/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;GO PLM<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/goplm/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Investor Info<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/investor/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Labs<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/labs/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Leadership<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/leadership/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Media and Analysts<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/newsroom/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Piracy Prevention<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/piracy/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;User Meetings and User Groups<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/about_us/user_groups/index.shtml')",0

)


xpos = xpos + 70;

arMenu2 = new Array(
wid,
xpos,ypos,
menutext,hovertext,
menuback,hoverback,
menuborder,seprcolor,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Teamcenter<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/teamcenter/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;NX<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/nx/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;- CAD<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/nx/design/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;- CAM<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/nx/machining/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;- CAE<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/nx/simulation/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Tecnomatix<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/tecnomatix/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Velocity Series<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/products/velocity/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;&nbsp;&nbsp;-  Femap<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/velocity/femap/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;&nbsp;&nbsp;-  CAM Express<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/velocity/camexpress/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;&nbsp;&nbsp;-  Solid Edge<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/velocity/solidedge/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;&nbsp;&nbsp;-  Teamcenter Express<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/velocity/tcexpress/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;PLM Components<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/open/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Customer Promotions<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/promotions/index.shtml ')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Product Index<br><img src='spacer.gif' height='1'>","javascript:poptastic('http://www.plm.automation.siemens.com/en_us/products/promotions/index.shtml')",0

)








xpos = xpos + 66;
arMenu3 = new Array(
wid,
xpos,ypos,
menutext,hovertext,
menuback,hoverback,
menuborder,seprcolor,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Aerospace and Defense<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/aerospace_defense/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Automotive and Transportation<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/automotive/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Consumer Products<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/consumer_products/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Federal Government<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/federal_government/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;High Tech and Electronics<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/high_tech_electronics/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Life Sciences<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/lifesciences/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Machinery<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/industries/machinery/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Small to Medium Businesses<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/products/velocity/small_to_medium_business_center/index.shtml')",0

)

xpos = xpos + 123;
arMenu4 = new Array(
wid,
xpos,ypos,
menutext,hovertext,
menuback,hoverback,
menuborder,seprcolor,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Channel Sales Partners<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/channel_sales_partners/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Consulting and System Integration Partners<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/consulting_si/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Software and Technology Partners<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/software_technology/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Partner Index<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/partnerSearchResults.shtml?searchCompetency=0&searchProduct=0&searchCountry=0&searchState=0&searchNameValue=&action=searchResults&searchMarket=0&searchSpecialization=0&searchRegion=All&searchLevel=0')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Search Partners<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/find_partner.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Join the Partner Program<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/join/index.shtml')",0,

"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Partner Portal<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.plm.automation.siemens.com/en_us/partners/partner_portal/index.shtml')",0

)

xpos = xpos + 66;
arMenu5 = new Array(
wid,
xpos,ypos,
menutext,hovertext,
menuback,hoverback,
menuborder,seprcolor,
"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Training & Certifications<br><img src='spacer.gif' height='1'>","tr_training1.asp",0,
"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Support<br><img src='spacer.gif' height='1'>","tr_support.asp",0,
"<img src='spacer.gif' height='2'><br>&nbsp;&nbsp;Services<br><img src='spacer.gif' height='1'>","javascript:poptastic ('http://www.ugs.com/experteam/')",0

)