function signup(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=505,height=500');");
}

BLANK_IMAGE="b.gif";
//keywords
//styles

var STYLE1 = {
"border":1,
"shadow":0,
"color":{"border":"Black", "shadow":0, "shadow":"black", "bgON":"white","bgOVER":"#ce1419"},
"css":{"ON":"title", "OVER":"titleovr"}
};

var STYLE2 = {
"border":1,
"shadow":0,
"color":{"border":"Black", "shadow":"black", "bgON":"white","bgOVER":"#ce1419"},
"css":{"ON":"menu", "OVER":"menuover"}
};

var STYLE3 = {
"border":0,
"shadow":0,
"color":{"border":"", "shadow":"black", "bgON":"#FFFFFF","bgOVER":"#D7D7D7"},
"css":{"ON":"sidemenu", "OVER":"sidemenuover"}
};

var STYLE4 = {
"border":0,
"shadow":0,
"color":{"border":"", "shadow":"black", "bgON":"#FFFFFF","bgOVER":"#FFFFFF"},
"css":{"ON":"sidemenutitle", "OVER":"sidemenutitle"}
};

var STYLE5 = {
"border":0,
"shadow":0,
"color":{"border":"", "shadow":"black", "bgON":"#FFFFFF","bgOVER":"#D7D7D7"},
"css":{"ON":"submenus", "OVER":"submenusover"}
};

//items and formats
var MENU_ITEMS_SIZING =
[
	//customer service
	{"pos":[17,0], "itemoff":[0,0], "leveloff":[20,0], "style":STYLE1, "size":[18,95]},
	{code:"customer service", url:"http://www.motiontelecom.com.au/content/about/customerservice.html","format":{"size":[18,95], "align":"center","itemoff":[0,95]},
		sub:[
				{"itemoff":[16,0],"style":STYLE2},
				{code:"about us" , url:"http://www.motiontelecom.com.au/content/about/about.html", "format":{"size":[17,95]}},
				{code:"why motion?" , url:"http://www.motiontelecom.com.au/content/about/whyus.html", "format":{"size":[17,95]}},
				{code:"join us" , url:"http://www.motiontelecom.com.au/content/forms/contactform.html", "format":{"size":[17,95]}},
				{code:"my account" , url:"http://www.motiontelecom.com.au/account.html", "format":{"size":[17,95]}},
			
			]
},
	//voice
	{code:"voice", url:"http://www.motiontelecom.com.au/content/voice/indexvoic.html","format":{"size":[18,95], "itemoff":[0,95]},
		sub:[
				{"itemoff":[16,0],"style":STYLE2},
				{code:"complete voice" , url:"http://www.motiontelecom.com.au/content/voice/homeservice.html", "format":{"size":[17,95]}},
				{code:"long distance" , url:"http://www.motiontelecom.com.au/content/voice/longdistance.html", "format":{"size":[17,95]}},
				{code:"prepaid" , url:"http://www.motiontelecom.com.au/content/voice/prepaid.html", "format":{"size":[17,95]}},
				{code:"bundles" , url:"http://www.motiontelecom.com.au/content/voice/bundles.html", "format":{"size":[17,95]}},
				{code:"home cap" , url:"http://www.motiontelecom.com.au/content/voice/homecap.htm", "format":{"size":[17,95]}},
				{code:"voice FAQs" , url:"http://www.motiontelecom.com.au/content/voice/faq.html", "format":{"size":[17,95]}},
			
			]
},
	//internet
	{code:"internet", url:"http://www.motiontelecom.com.au/content/net/indexnet.html", "format":{"size":[18,95], "itemoff":[0,95]},
		sub:[
			 	{"itemoff":[16,0],"style":STYLE2},
				{code:"dial up&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;>>" , url:"#", "format":{"size":[17,95]},
					sub:[
					{"leveloff":[0,97], "itemoff":[16,0], "size":[17,95]},
					{code:"light plan", url:"http://www.motiontelecom.com.au/content/net/light.html","format":{"size":[17,95]}},
					{code:"smart plan", url:"http://www.motiontelecom.com.au/content/net/smart.html","format":{"size":[17,95]}},
					{code:"dial up FAQs", url:"http://www.motiontelecom.com.au/content/net/dfaq.html","format":{"size":[17,95]}},
					]
				},
				{code:"broadband&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;>>" , url:"http://www.motiontelecom.com.au/content/net/broadband.html", "format":{"size":[17,95]},
					sub:[
					{"leveloff":[0,97], "itemoff":[16,0], "size":[17,95]},
					{code:"broadband plans", url:"http://www.motiontelecom.com.au/content/net/bbplans.html","format":{"size":[17,95]}},
					{code:"broadband FAQs", url:"http://www.motiontelecom.com.au/content/net/faq.html","format":{"size":[17,95]}},
					]
				},
			]
},
	//mobile
	{code:"mobile", url:"http://www.motiontelecom.com.au/content/mobile/indexmob.html", "format":{"size":[18,95], "itemoff":[0,95]},
		sub:[
				{"itemoff":[16,0],"style":STYLE2},
				{code:"just 4 u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;>>", url:"http://www.motiontelecom.com.au/content/mobile/just4u.html","format":{"size":[17,95]},
					sub:[
					{"leveloff":[0,97], "itemoff":[16,0], "size":[17,95]},
					{code:"voice 4 U", url:"http://www.motiontelecom.com.au/content/mobile/voice4u.html","format":{"size":[17,95]}},
					{code:"sms 4 U", url:"http://www.motiontelecom.com.au/content/mobile/sms4u.html","format":{"size":[17,95]}},
					{code:"international mobile", url:"http://www.motiontelecom.com.au/content/mobile/intlmob.html","format":{"size":[17,95]}},
					]
				},
{code:"mobile caps" , url:"http://www.motiontelecom.com.au/content/mobile/capmobile.htm", "format":{"size":[17,95]}},				
{code:"handsets&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;>>", url:"http://www.motiontelecom.com.au/content/mobile/handsets.html","format":{"size":[17,95]},
					sub:[
					{"leveloff":[0,97], "itemoff":[16,0], "size":[17,95]},
					{code:"Nokia", url:"http://www.motiontelecom.com.au/content/mobile/nokia.html","format":{"size":[17,95]}},
					{code:"Motorola", url:"http://www.motiontelecom.com.au/content/mobile/motorola.html","format":{"size":[17,95]}},
					{code:"Sony Ericsson", url:"http://www.motiontelecom.com.au/content/mobile/sonyericsson.html","format":{"size":[17,95]}},
					]
				},
				{code:"just ask!", url:"http://www.motiontelecom.com.au/content/mobile/justask.html","format":{"size":[17,95]}},
				{code:"mobile FAQ's", url:"http://www.motiontelecom.com.au/content/mobile/faq.html","format":{"size":[17,95]}},
			]
	},
	//corporate	
	{code:"corporate", url:"http://www.motiontelecom.com.au/content/corporate/corp.html", "format":{"size":[18,95], "itemoff":[0,95]},
		sub:[
			 	{"itemoff":[16,0],"style":STYLE2},
				{code:"corporate voice&nbsp;&nbsp;&nbsp;>>" , url:"http://www.motiontelecom.com.au/content/corporate/corpvoice.html", "format":{"size":[17,95]},
					sub:[
					{"leveloff":[0,97], "itemoff":[16,0], "size":[17,95]},
					{code:"standard voice", url:"http://www.motiontelecom.com.au/content/corporate/standardvoice.html","format":{"size":[17,95]}},
					{code:"inbound services", url:"http://www.motiontelecom.com.au/content/corporate/inservices.html","format":{"size":[17,95]}},
					{code:"ISDN", url:"http://www.motiontelecom.com.au/content/corporate/isdn.html","format":{"size":[17,95]}},
					]
				},
				{code:"corporate net" , url:"http://www.motiontelecom.com.au/content/corporate/corpnet.html", "format":{"size":[17,95]}},
				{code:"bundles" , url:"http://www.motiontelecom.com.au/content/corporate/bundles.html", "format":{"size":[17,95]}},
				{code:"dealers" , url:"http://www.motiontelecom.com.au/content/corporate/dealers.htm", "format":{"size":[17,95]}},			
]
},
	//fun & rewards
	{code:"fun & rewards", url:"#", "format":{"size":[18,95], "itemoff":[0,95]},
		sub:[
				{"itemoff":[16,0],"style":STYLE2},
				{code:"sign a friend", url:"http://www.motiontelecom.com.au/content/rewards/saf.html", "format":{"size":[17,95]}},
				{code:"mobiles at cost",  url:"http://www.motiontelecom.com.au/content/mobile/mobcost.html", "format":{"size":[17,95]}},			
			]
	},
	//promotions
	
	{code:"promotions", url:"http://www.motiontelecom.com.au/content/promotions/promoindex.html", "format":{"size":[18,95], "itemoff":[0,95]}
			},
			
	//motion travel
	
	{code:"motion travel", url:"http://www.motiontelecom.com.au/content/rewards/tratcost.html", "format":{"size":[18,81], "itemoff":[0,95]}
			},
	//stuff to win
	
//{code:"stuff to win", "format":{"size":[18,84], "itemoff":[0,83]},
//		sub:[
//			{"itemoff":[16,0],"style":STYLE2},
//			{code:"Greek Islands", "format":{"size":[17,100]}},
//			{code:"Terms And Conditions", "format":{"size":[17,100]}},
//			{code:"$300 Cash", "format":{"size":[17,100]}},
//			{code:"Terms And Conditions", "format":{"size":[17,100]}}
//			]
//	},	


	// fun & rewards
	//{code:"fun & rewards", url:"#", "format":{"size":[18,83], "itemoff":[0,81]},
		//sub:[
				//{"itemoff":[16,0],"style":STYLE2},
				//{code:"Sign A Friend",url:" /content/rewards/saf.html", "format":{"size":[17,100]}},
	//			{code:"Terms And Conditions", "format":{"size":[17,100]}},
	//			{code:"Bing Lee", url:" /content/rewards/.html", "format":{"size":[17,100]}},
				//{code:"Mobiles at Cost", url:" /content/mobile/mobcost.html", "format":{"size":[17,100]}},
				//{code:"Budgetel Travel", url:" /content/rewards/tratcost.html", "format":{"size":[17,100]}},
	//			{code:"Greek Islands", url:" /content/rewards/winstuff.html", "format":{"size":[17,100]}}
	//			{code:"$300 Cash", url:" /content/rewards.html", "format":{"size":[17,100]}}
			//]
	//},


// corporate
	
//{code:"corporate", url:" /content/corporate/corp.html", "format":{"size":[18,91], "itemoff":[0,82]}
		
	//},


// about us

//{code:"about us", url:"/content/about/about.html","format":{"size":[18,91], "itemoff":[0,82]},
//		sub:[
//				{"itemoff":[16,0],"style":STYLE2},
//				//{code:"About us" , url:"/content/about/about.html", "format":{"size":[17,100], "pos":[663,20]}},
//				{code:"Why Us" , url:"/content/about/whyus.html", "format":{"size":[17,100]}},
//				{code:"Terms&nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp » " , url:"#", "format":{"size":[17,100]},
//				
//					sub:[				
//						{"leveloff":[0,102], "itemoff":[16,0], "size":[17,100]},
//						{code:"Voice Terms" , url:"/content/about/overrideterms.html", "format":{"size":[17,100]}},
//						{code:"Mobile Terms" , url:"/content/about/mobileterms.html", "format":{"size":[17,100]}},
//						{code:"Broadband Terms" , url:"/content/about/adslterms.html", "format":{"size":[17,100]}}
//						]	
//					},
//				
//				{code:"Contact us" , url:"/content/about/contactus.html", "format":{"size":[17,100]}}
//			
//			]
//},
//downwards side menu
/*
{code:"  MOBILE", "format":{"size":[15,100], "pos":[100,100], "style":STYLE4, "itemoff":[35,-675]}},
{code:" » Voice 4 U", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » SMS 4 U", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » Handsets", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » Nokia", "format":{"size":[15,73], "style":STYLE5, "itemoff":[15,7]}},
{code:" » Motorola", "format":{"size":[15,73], "style":STYLE5, "itemoff":[15,0]}},
{code:" » Sony Ericcson", "format":{"size":[15,73], "style":STYLE5, "itemoff":[15,0]}},
{code:" » Samsung", "format":{"size":[15,73], "style":STYLE5, "itemoff":[15,0]}},
{code:" » Panasonic", "format":{"size":[15,73], "style":STYLE5, "itemoff":[15,0]}},
{code:" » Accessories", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,-7]}},
{code:" » Fun stuff", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » Charges", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » Cover", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » Just Ask!", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}},
{code:" » Covers", "format":{"size":[15,80], "style":STYLE3, "itemoff":[15,0]}}
*/
];

