
// VERTICAL MENU --------------------------------------------
// first menu
i=1;
mDirection[i]=1; // 0=across  1=down
mAlign[i]="left";
mHeight[i]="20";
mSeparator[i]="&nbsp;&nbsp;|&nbsp;";
j=0;mItem[i]=new Array();mHref[i]=new Array();mBelowText[i]=new Array();mMouseclick[i]=new Array();mMouseover[i]=new Array();mMouseout[i]=new Array(); mClass[i]=new Array(); mBGColor[i]=new Array();mBullPoint[i]=new Array();mBGColor[i][0]="";
/*  Syntax for menu item is
j++; mItem[i][j]="HOME"; 		mHref[i][j]="index.htm";		mBelowText[i][j]="";	mMouseclick[i][j]="";	mMouseover[i][j]="";	mMouseout[i][j]="";		mClass[i][j]="";	mBGColor[i][j]="";
*/
j++;	mBullPoint[i][j]='bluebutton.gif';		mItem[i][j]="Designer Brands";				mHref[i][j]="debradelei-dover-fashion.php?p=fashion";		
j++;	mBullPoint[i][j]='bluebutton.gif';		mItem[i][j]="Other De Bradelei Stores";		mHref[i][j]="http://www.debradelei.com\" target=\"_blank\"";		
j++;	mBullPoint[i][j]='bluebutton.gif';		mItem[i][j]="Contact Us";					mHref[i][j]="debradelei-dover-contact.php?p=contact";		
j++;	mBullPoint[i][j]='frenchflag.gif';		mItem[i][j]="Visiteurs Fran&ccedil;ais";	mHref[i][j]="debradelei-dover-french-visitors.php?p=vf&amp;l=vf";			
//j++;	mBullPoint[i][j]='bluebutton.gif';		mItem[i][j]="CONTACT";						mHref[i][j]="contact.htm";		
mItem[i][0]=j;  // number of menu items



// ROLLOVER MENU ---------------------------------------------
function ShowRollOverMenu(page){
	separator = "<img border='0' src='images/dotw.gif' width='1' height='34'>";
	document.write("<div class='menu bubplastic horizontal blue'><ul>");
		
		document.write( MainMenuItem (page,'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;','index.php?p=home','home'));
		document.write( MainMenuItem (page,'Fashion','debradelei-dover-fashion.php?p=fashion&amp;l=gb','fashion'));
		document.write( MainMenuItem (page,'Leisure Wear','debradelei-dover-leisure-wear.php?p=leisurew&amp;l=gb','leisurew'));
		document.write( MainMenuItem (page,'Soft Furnishings','debradelei-dover-soft-furnishings.php?p=softfurnishings&amp;l=gb','softfurnishings'));
		document.write( MainMenuItem (page,'Shoes &amp; Luggage','debradelei-dover-shoes-and-luggage.php?p=shoesluggages&amp;l=gb','shoesluggages'));
		document.write( MainMenuItem (page,'China &amp; Glass','debradelei-dover-china-and-glass.php?p=chinaglass&amp;l=gb','chinaglass'));
		//document.write( MainMenuItem (page,'Contact','debradelei-dover-contact.htm?p=contact&amp;l=gb','contact'));
		
		
	document.write ("</ul><br class='clearit' /></div>");
}

function MainMenuItem(page,label,mitem,c) {
	var currentclass =(c==page) ? " class='highlight'" : "";
	var Str = "";
	Str += "<li"+currentclass+"><span class='menu_r'><a href='"+mitem+"' target='_self'><span class='menu_ar'>"+label+"</span></a>"+separator+"</span></li>";
	return Str;
}

// COMMON PAGES TEXT BLOCKS ----------------------------------

function ShowBannerText(active){
	if(active!=0){
		Strtext="";
		Strtext+="<div id='lbannertext' style='position:absolute; width:140px; height:120px; left:695px; top:2px; z-index:3; text-align:center'>";
       	Strtext+="<span class='bannertextbox'>Irresistible<br />brands<br />affordable<br />prices</span>";
        Strtext+="</div>";

		document.write(Strtext);
	}
}

function ShowOfferText(language){ // FUTURE CONTENT MANAGED
	Strtext="";
	Strtext+="<div id='loffertext' style='position:absolute; width:515px; height:70px; left:0px; top:"+(language!="vf"?"535":"545")+"px; z-index:6; text-align:center'>";
	if(language=="gb"){
	Strtext+="<span class='offerboxheader'>Great Reductions on Selected Brands<br />Throughout the Store</span><br /> ";
	//Strtext+="<span class='offerboxtext'></span>";
	}
	else{
	Strtext+="<span class='offerboxheader'>Les Collections d'Automne Viennent d'Arriver!</span>";
	Strtext+="<span class='offerboxtext'><br /><br />Venez d&eacute;couvrir les nouveaut&eacute;s chez Joules,<br />Weirdfish et Fabrizo</span>";
	}
	Strtext+="</div>";

	document.write(Strtext);
	//New Autumn Ranges Now in Stock	//FANTASTIC 4 DAY SALE!<br  style='font-size:12px'/><span style='font-size:12px'>Thurs  5th - Sun 8th November (inc)</span>
	//Including collections from Joules, Weirdfish and Fabrizo	//GET WINTER ALL WRAPPED UP!<br />Extra Discounts Across the Whole Store for 4 Days Only!
	//	//GRAND WEEK END DE SOLDE<br />du 5 au 8 NOVEMBRE!
	//	//Extra Discounts Offerts sur l'Ensemble du Magasin
}

//L'&eacute;t&eacute; des bonnes affaires<br />sur le pr&egrave;t-&agrave;-porter feminin // -10% sur les prix affich&eacute;s


function ShowDiscountText(language){
	Strtext="";
	Strtext+="<div id='ldiscounttext' style='position:absolute; width:500px; height:40px; left:0px; top:479px; z-index:5; text-align:center'>";//"+(language=='gb' ? '479' : '510')+"
	if(language=="gb"){
		Strtext+="<span class='discountbox1'>Up to 70% Discount <span class='discountbox2'>every day of the year</span></span>";
	}
	else{
		Strtext+="<span class='discountbox1'>Jusqu'&agrave; &ndash;70% <span class='discountbox2'>tous les jours de l'annee</span></span>";
	}
	Strtext+="</div>";

	document.write(Strtext);
}

function ShowFooter(){
	spacerimg = "<img src='images/spacer.gif' width='30'>";
	Strtext="";
	Strtext+="<div id='lfooter' style='position:absolute; width:500px; height:62px; left:224px; top:627px; z-index:7; text-align:center'>";
	Strtext+="<span class='body'>Terms & Conditions"+spacerimg+"Privacy"+spacerimg+"Site Map</span>";
	Strtext+="</div>";

	document.write(Strtext);
}

function ShowSubPageTextBox(active){
	if(active!=0){
		Strtext="";
		Strtext+="<div id='ldiscounttext' style='position:absolute; width:240px; height:90px; left:0px; top:470px; z-index:5; text-align:center'>";
       	Strtext+="<span class='subpagetextbox'>ALL YOUR<br />FAVOURITE<br />BRANDS<br />UNDER ONE<br />ROOF!</span>";
        Strtext+="</div>";

		document.write(Strtext);
	}
}


function ShowStraplineText(page){
		Strtext="";
		Strtext+="<div id='lstraplinetext' style='position:absolute; width:242px; height:58px; left:"+(page=='contact'|| page=='thankyou'?'735':'282')+"px; top:563px; z-index:9'>";
		Strtext+="<p class='strapline'>&ldquo; Take it easy<br />&nbsp;&nbsp;&nbsp;at De Bradelei Wharf &rdquo;</p>";
	  	Strtext+="</div>";

	document.write(Strtext);
}



// COMMON VISUAL COMPONENTS ----------------------------------------------------

function ShowTextSideImages(page){
	document.write();	
	

}

function ShowSubPageLogos(page){
	document.write();	
	
	
}

function ShowFooterImages(page){
	document.write();	
	
	
}














