var url=window.location.href;
url=url.split("/");

if (url.length>5){
url_more=url[5];
url_more=url_more.split("?");
url_more=url_more[0];
}
else{
	url_more="";
}

if(url_more!="homepage_msn_IT.html")
{

	controllo=url[3] + "/" + url[4] + "/" + url[5];
	
	// dp dynamo pages
	if(controllo=="lmn/multiproduct/stepless")
	{
		document.write("<link href='http://www.it.lastminute.com/lmn/common/navigation_xml/styles/styles.css' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/lmn/homepage/en_GB/styles.css' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/site/lmn_home.css?skin=itit.lastminute.com' rel='stylesheet' type='text/css' />");
	}
	// flights dynamo pages
	else if(controllo=="lmn/lfe/flights")
	{
		document.write("<link href='http://www.it.lastminute.com/lmn/common/navigation_xml/styles/styles.css' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/lmn/homepage/en_GB/styles.css' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/site/lmn_home.css?skin=itit.lastminute.com' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/lmn/lfe/flights/addons/css/en_GB/lfe_styles.css' rel='stylesheet' type='text/css' />");
	}
	else if(controllo=="lmn/pso/catalog")
	{
		document.write("<link href='http://www.it.lastminute.com/lmn/common/navigation_xml/styles/styles.css' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/lmn/homepage/en_GB/styles.css' rel='stylesheet' type='text/css' />");
		document.write("<link href='http://www.it.lastminute.com/site/lmn_home.css?skin=itit.lastminute.com' rel='stylesheet' type='text/css' />");
	}
			
	
	
	//Internet Explorer
	if(navigator.appName!="Netscape")
	{
		document.write("<style>");
		document.write("#master_left {position:absolute; left: 8px !important;}");
		document.write("#master_center {position:absolute; left: 139px;width:598px; z-index:2;}");
		document.write("#master_right {position:absolute; left: 750px; z-index:1;}");
		document.write("div.formElement#flexibleDatesContainer {position:relative; top:19px;}");
		document.write(".margine_rightnav {margin-left:10px;}");
		var url=window.location.href;
			url=url.split("/");
			
			if((url[3]=="lmn"))
			{
				document.write(".img_top {width:124px !important;}");
				document.write(".img_bottom {width:124px !important;}");
				document.write("#leftNav {border-bottom:0px; border-top:0px;}");
			}
			else if((url[3]=="eBasket"))
			{
				document.write("#master_left {top:165px;}");
				document.write("#master_center {top:165px;}");
				document.write("#master_right {top:165px;}");

				document.write(".img_top {width:124px !important;}");
				document.write(".img_bottom {width:124px !important;}");
				document.write("#leftNav {border-bottom:0px; border-top:0px;}");
			}
		
		
		version=0
		if (navigator.appVersion.indexOf("MSIE")!=-1)
		{
			temp=navigator.appVersion.split("MSIE")
			version=parseFloat(temp[1])
		}
		if(version<7)
		{
			document.write(".img_top {width:124px;}");
			document.write(".img_bottom {width:124px;}");
			document.write("div.t1#leftNav {border-bottom:0px;}");
			document.write("div.sfondo_box {position:relative;top:-6px;}");
			document.write("li.lista_box { width:45%; padding-right:0px;padding-left:5px; padding-bottom:3px;display:inline;}");
			document.write("ul.ul_box {width:330px; position:relative; left:-13px;}");

			document.write(".jcarousel-skin-tango .jcarousel-prev-horizontal { left:-38px !important;}");
			document.write("#wrap {display:none;}");		

		//	document.write("#main_search_body form#hols_search {height:225px;}");
		//	document.write("#main_search_body form#dp_search {height:199px !important;}");
	document.write(".margine_rightnav {margin-left:4px;}");
	document.write(".tag_clouds_header {position:relative; top:20px;}");
		
		}
		
		document.write("</style>");
	}
	else if(navigator.appName=="Netscape")
	{
	
	//altri Browser
	document.write("<style>");
	
	document.write("#master_left {position:absolute; left: 8px !important;}");
	document.write("#master_center {position:absolute; left: 139px; width:598px; z-index:2;}");
	document.write("#master_right {position:absolute; left: 750px; z-index:1;}");
	document.write("ul.ul_box {width:345px;position:relative; left:-10px;}");
	document.write("li.lista_box {float:left; width:46%; padding-right:0px;padding-left:5px; padding-bottom:3px;display:inline;}");
	document.write(".img_top {width:120px !important;}");
	document.write(".img_bottom {width:120px !important;}");
	document.write("div.formElement#flexibleDatesContainer {position:relative; top:19px;}");
	document.write(".margine_rightnav {margin-left:10px;}");
	document.write(".tag_clouds_header {position:relative; top:20px;}");
	
	if((url[3]=="eBasket"))
	{
		document.write("#master_left {top:165px;}");
		document.write("#master_center {top:165px;}");
		document.write("#master_right {top:165px;}");
	}
	
	document.write("</style>");
	}

}// JavaScript Document