<!-- // JavaScript Document
if (window.innerWidth && document.getElementsByClassName){
	allowScript = true;
}
if (allowScript) {
	function setPictureWidth(picWidth, picHeight, vLocation){
		var bodyWidth = window.innerWidth;
		var bottomMarginWidth = bodyWidth-10;
		var bottomMarginHeight = 50*Math.sqrt(bottomMarginWidth/1200)*(zoomLevel/100)+10;
		var footerHeightRatio = Math.sqrt(bottomMarginWidth*bottomMarginHeight/50/1200);
		bottomMargin.style.fontSize = parseInt(12*footerHeightRatio*Math.sqrt(Math.sqrt(zoomLevel/100))) + "px";
		var logoHeight = Math.min(59,59*footerHeightRatio);
		logo.height = logoHeight;
		logo.width = logoHeight*190/59;
		var usedVert = logoHeight + 4 + bottomMarginHeight;
		var winHeight = window.innerHeight*zoomLevel/100-usedVert-8;
		var winWidth = bodyWidth*.8;
		var mainWidth = winWidth-18;
		var aspectRatio = picWidth/picHeight;
		var hOffset = 0;
		var vOffset = 0;
		document.body.style.width = bodyWidth + "px";
		midDiv.style.width = bodyWidth*.97 + "px";
		midDiv.style.height = winHeight + "px";
		topMargin.style.width = bodyWidth + "px";
		topMargin.style.height = (logoHeight + 4) + "px";
		divID.style.width = mainWidth + "px";
		divID.style.height = winHeight + "px";
		rightID.style.width = bodyWidth*.17 + "px";
		rightID.style.height = winHeight + "px";
		bottomMargin.style.width = bodyWidth + "px";
		bottomMargin.style.height = bottomMarginHeight + "px";
		mainHeader.style.width = (bodyWidth - 58) + "px";
		spacer.width = "0px";
		if (document.getElementById("decButton"))	
		{	incBttn.style.fontSize = parseInt(12*footerHeightRatio) + "px";
			decBttn.style.fontSize = parseInt(12*footerHeightRatio) + "px";
		}
		if (apDv1)	
		{	apDv1.style.top = 70*(bottomMarginWidth*bottomMarginHeight/50/1200) + "px";
			apDv1.style.fontSize = parseInt(16*footerHeightRatio) + "px";
		}
		if (noScrlls)	
		{	noScrlls.style.fontSize = parseInt(14*footerHeightRatio) + "px";
		}
		if (bgPic)
		{	bgPic.width = Math.min(picWidth,mainWidth);
			bgPic.height = parseInt(bgPic.width/aspectRatio);
			if (bgPic.height < winHeight)
			{	bgPic.height = winHeight;
				bgPic.width = parseInt(bgPic.height*aspectRatio);
			}
			hOffset = parseInt(0.5*(mainWidth - bgPic.height*aspectRatio));
			bgPic.style.left = hOffset + "px"; 
			vOffset = parseInt(0.5*(winHeight - bgPic.width/aspectRatio));
			if (vLocation==0 ) {vOffset = 0} else bgPic.style.top = vOffset + "px";
		}
		else if (colChoicePics)
		{	for (var count=0; count<colChoicePicQty; count++)
			{	colChoicePics[count].width = Math.min(initialColChoicePicWidth,mainWidth/3-18);
				colChoicePics[count].height = parseInt(colChoicePics[count].width/initialColChoicePicWidth*initialColChoicePicHeight);
				if (colChoicePics[count].height > winHeight-8)
				{	colChoicePics[count].height = winHeight-8;
					colChoicePics[count].width = parseInt(colChoicePics[count].height/initialColChoicePicHeight*initialColChoicePicWidth);
				}
				hOffset = parseInt(mainWidth/3-colChoicePics[count].width);
				colChoicePics[count].style.left = hOffset + "px"; 
				vOffset = parseInt(0.5*(winHeight - colChoicePics[count].height));
				colChoicePics[count].style.top = vOffset + "px";
			}
		}
		else if (selectPhotos)
		{	var photoDispW = (mainWidth*.5)-20;
			var selectPhotosWidth = mainWidth*0.5;
			var displayHeight = 698;
			var displayWidth = 465;
			selectPhotos.style.width = selectPhotosWidth + "px";
			displayArea.style.width = photoDispW + 4 + "px";
			selectPhotos.style.height = winHeight + "px";
			displayArea.style.height = winHeight + "px";
			newHeightRatio = Math.sqrt(selectPhotosWidth*winHeight/310/1000);
			selectPhotos.style.fontSize = parseInt(22*newHeightRatio) + "px";
			displayPhoto.height = winHeight-4;
			displayPhoto.width = (winHeight-4)*displayWidth/displayHeight;
			if (displayPhoto.width>photoDispW-4)
			{	displayPhoto.width = photoDispW-4;
				displayPhoto.height = (photoDispW-4)*displayHeight/displayWidth;
			}
			upPh.height = 20*newHeightRatio + "px";
			upPh.style.fontSize = parseInt(14*newHeightRatio) + "px";
			dnPh.height = 20*newHeightRatio + "px";
			dnPh.style.fontSize = parseInt(14*newHeightRatio) + "px";
			bkPh.width = 16*selectPhotosWidth/350 + "px";
			bkPh.style.fontSize = parseInt(22*newHeightRatio) + "px";
			fdPh.style.fontSize = parseInt(22*newHeightRatio) + "px";
			fdPh.width = 16*selectPhotosWidth/350 + "px";
			ph1.width = 52*selectPhotosWidth/350 + "px";
			ph2.width = 52*selectPhotosWidth/350 + "px";
			ph3.width = 52*selectPhotosWidth/350 + "px";
			ph4.width = 52*selectPhotosWidth/350 + "px";
			ph5.width = 52*selectPhotosWidth/350 + "px";
			var imgWidth = 52*selectPhotosWidth/350-6;
			im1.width = imgWidth;
			im1.height = 78*selectPhotosWidth/350;
			im2.width = imgWidth;
			im2.height = 78*selectPhotosWidth/350;
			im3.width = imgWidth;
			im3.height = 78*selectPhotosWidth/350;
			im4.width = imgWidth;
			im4.height = 78*selectPhotosWidth/350;
			im5.width = imgWidth;
			im5.height = 78*selectPhotosWidth/350;
			if (document.getElementById("photo13"))
			{	ph1.height = 80*selectPhotosWidth/350 + "px";
				ph6.height = 80*selectPhotosWidth/350 + "px";
				ph11.height = 80*selectPhotosWidth/350 + "px";
				ph6.width = 52*selectPhotosWidth/350 + "px";
				ph7.width = 52*selectPhotosWidth/350 + "px";
				ph8.width = 52*selectPhotosWidth/350 + "px";
				ph9.width = 52*selectPhotosWidth/350 + "px";
				ph10.width = 52*selectPhotosWidth/350 + "px";
				ph11.width = 52*selectPhotosWidth/350 + "px";
				ph12.width = 52*selectPhotosWidth/350 + "px";
				ph13.width = 52*selectPhotosWidth/350 + "px";
				ph14.width = 52*selectPhotosWidth/350 + "px";
				ph15.width = 52*selectPhotosWidth/350 + "px";
				im6.width = imgWidth;
				im6.height = 78*selectPhotosWidth/350;
				im7.width = imgWidth;
				im7.height = 78*selectPhotosWidth/350;
				im8.width = imgWidth;
				im8.height = 78*selectPhotosWidth/350;
				im9.width = imgWidth;
				im9.height = 78*selectPhotosWidth/350;
				im10.width = imgWidth;
				im10.height = 78*selectPhotosWidth/350;
				im11.width = imgWidth;
				im11.height = 78*selectPhotosWidth/350;
				im12.width = imgWidth;
				im12.height = 78*selectPhotosWidth/350;
				im13.width = imgWidth;
				im13.height = 78*selectPhotosWidth/350;
				im14.width = imgWidth;
				im14.height = 78*selectPhotosWidth/350;
				im15.width = imgWidth;
				im15.height = 78*selectPhotosWidth/350;
			}	else if (document.getElementById("photo6"))
			{	ph1.height = 80*selectPhotosWidth/350 + "px";
				ph5.height = 80*selectPhotosWidth/350 + "px";
				ph9.height = 80*selectPhotosWidth/350 + "px";
				ph6.width = 52*selectPhotosWidth/350 + "px";
				ph7.width = 52*selectPhotosWidth/350 + "px";
				ph8.width = 52*selectPhotosWidth/350 + "px";
				ph9.width = 52*selectPhotosWidth/350 + "px";
				ph10.width = 52*selectPhotosWidth/350 + "px";
				ph11.width = 52*selectPhotosWidth/350 + "px";
				ph12.width = 52*selectPhotosWidth/350 + "px";
				im6.width = imgWidth;
				im6.height = 78*selectPhotosWidth/350;
				im7.width = imgWidth;
				im7.height = 78*selectPhotosWidth/350;
				im8.width = imgWidth;
				im8.height = 78*selectPhotosWidth/350;
				im9.width = imgWidth;
				im9.height = 78*selectPhotosWidth/350;
				im10.width = imgWidth;
				im10.height = 78*selectPhotosWidth/350;
				im11.width = imgWidth;
				im11.height = 78*selectPhotosWidth/350;
				im12.width = imgWidth;
				im12.height = 78*selectPhotosWidth/350;
			}	else
			{	bkPh.height = 80*newHeightRatio + "px";
			}
				var photoHeight = displayPhoto.height;
				vOffset = parseInt(0.5*(winHeight - photoHeight));
				displayPhoto.style.top = vOffset + "px";
		}
		else if (selectArea)
		{	var videoDispW = mainWidth*.65;
			var videoDispH = 0;
			var selectAreaWidth = mainWidth*0.3 - 4;
			selectArea.style.width = selectAreaWidth + "px";
			displayArea.style.width = videoDispW + 4 + "px";
			selectArea.style.height = winHeight + "px";
			displayArea.style.height = winHeight + "px";
			newHeightRatio = Math.sqrt(selectAreaWidth*winHeight/310/1000);
			selectArea.style.fontSize = parseInt(25*newHeightRatio) + "px";
			videoDispH = videoDispW/initialVideoWidth*initialVideoHeight;
			if (videoDispH > winHeight-4)
			{	videoDispH = winHeight-4;
				videoDispW = videoDispH*initialVideoWidth/initialVideoHeight;
			}
			videoDispW = parseInt(videoDispW);
			videoDispH = parseInt(videoDispH);
			videoDisplay.width = videoDispW;
			videoDisplay.height = videoDispH;
			videoDisplay.player1.width = videoDispW;
			videoDisplay.player1.height = videoDispH;
			videoDisplay.player1.player.width = videoDispW;
			videoDisplay.player1.player.height = videoDispH;
			videoDisplay.player1.player.media.width = videoDispW;
			videoDisplay.player1.player.media.height = videoDispH;
			videoDisplay.player1.player.setPlayerSize(videoDispW,videoDispH);
			videoDisplay.player1.player.controls.resize(videoDispW,videoDispH);	
			displayArea.style.height = videoDispH + "px";
//			videoDisplay.player1.player.updateCurrent;
					//			$('#player1').width = videoDispW;
					//			$('#player1').height = videoDispH;
					//			$('#player1.player.media').width = videoDispW;
					//			$('#player1.player.media').height = videoDispH;
					//			$('#player1.player.media').resize(videoDispW,videoDispH);
					//			$('#player1.player.controls').resize(videoDispW,videoDispH);
					///*			$('#player1.player').resize(videoDispW,videoDispH);*/
					//			videoDisplay.player1.player.setPlayerSize(videoDispW,videoDispH);
					//			$('#player1.player').updateCurrent;
/*			djr.width = 400;
			window.onerror=silentHandler;
			window.onerror=defaultHandler;*/
		}

		else if (aboutPic)
		{	var aboutLeftWidth = mainWidth*0.3;
			var aboutRightWidth = mainWidth - aboutLeftWidth - 70;
			var newHeightRatio = 1;
			aboutPic.style.width = aboutLeftWidth + "px";
			aboutPic.style.height = winHeight + "px";
			monikaPic.height = 467/500*winHeight;
			monikaPic.width = monikaPic.height*271/467;
			if (monikaPic.width > (aboutLeftWidth-20))
			{	monikaPic.width = aboutLeftWidth-20;
				monikaPic.height = monikaPic.width*467/271;
			}
			aboutText.style.width = aboutRightWidth + "px";
			aboutText.style.height = winHeight + "px";
			newHeightRatio = Math.min(Math.sqrt(aboutRightWidth*winHeight/600/1000),1);
			aboutText.style.fontSize = parseInt(19.5*newHeightRatio) + "px";
			aboutPic.style.fontSize = parseInt(22.5*newHeightRatio) + "px";
			if (document.getElementById("contacts"))
			{	var mapHeightRatio = winHeight/700;
				contactsDiv.style.fontSize = parseInt(16*newHeightRatio) + "px";
				contactsDiv.style.width = aboutRightWidth-2 + "px";
				contactsDiv.style.height = 695*mapHeightRatio + "px";
				storesDiv.style.width = aboutRightWidth-4 + "px";
				storesDiv.style.height = 400*mapHeightRatio + "px";
				storesLeft.style.width = (aboutRightWidth-19)*0.4 + "px";
				storesLeft.style.height = 395*mapHeightRatio + "px";
				mMap.style.width = (aboutRightWidth-19)*0.6-10 + "px";
				mMap.style.height = 395*mapHeightRatio + "px";
				var storeMapWidth = (aboutRightWidth-19)*0.6-20;
				if (storeMapWidth>(338*mapHeightRatio)) {storeMapWidth = 338*mapHeightRatio}
				var storeMapHeight = 280/338*storeMapWidth;
				madelenMap.style.width = storeMapWidth + "px";
				madelenMap.style.height = storeMapHeight + "px";
			}
		}
		else if (blg)
		{	blg.width = mainWidth-2;
			blg.style.width = mainWidth-2 + "px";
			if (blg.width>950)
			{	blg.width=950}
			blg.height = winHeight-20;
			blg.style.height = winHeight-20 + "px";
		}
		setImageSize();
/*		djr.width = 400;*/
	}
}
function setImageSize() {
	if (allowScript)
	{	var usedVert = topMargin.clientHeight + bottomMargin.clientHeight;
		var winHeight = window.innerHeight*zoomLevel/100-usedVert-18;
		var newHeightRatio = Math.min(Math.sqrt(winHeight/1000),1);
		for (var count=0; count < howMany; count++)
		{	allPics[count].height = initialPicHeight[count]*newHeightRatio;
			allPics[count].width = initialPicWidth[count]*newHeightRatio;
		}
		rightID.style.fontSize = parseInt(initialChoiceFontSize*newHeightRatio) + "px";
	}
}
function changeBackground(num) {
	if (allowScript)
	{	var origName = allPics[num].src;
		var nameLength = origName.length;
		var imageType = origName.substring(nameLength-4,nameLength);
		var rootName = origName.substring(0,nameLength-4);
		var newName = rootName + "1" + imageType;
		allPics[num].src = newName;
		allPics[num].parentNode.parentNode.style.backgroundColor="#DDDDDD";
		allPics[num].parentNode.style.color="#DDDDDD";
		/*djr.width = 400;*/
	}	
}
function restoreBackground(num) {
	if (allowScript)
	{	var origName = allPics[num].src;
		var nameLength = origName.length;
		var imageType = origName.substring(nameLength-4,nameLength);
		var rootName = origName.substring(0,nameLength-5);
		var newName = rootName + imageType;
		allPics[num].src = newName;
		allPics[num].parentNode.parentNode.style.backgroundColor="#FFFFFF";
		allPics[num].parentNode.style.color="#FFFFFF";
	}
}
function goTo(num) {
	if (allowScript)
	{	var origName = allPics[num].src;
		var nameLength = origName.length;
		var imageType = origName.substring(nameLength-4,nameLength);
		var rootName = origName.substring(0,nameLength-5);
		var newName = rootName + imageType;
		var goToLocation = allPics[num].parentNode.href;
		allPics[num].src = newName;
		allPics[num].parentNode.parentNode.style.backgroundColor="#FFFFFF";
		allPics[num].parentNode.style.color="#FFFFFF";
		location.href = goToLocation;
	}
}
function changeImage(orig, alt) {
	var img = document.getElementById(orig);
	img.src = alt;
}
function changeZoom(amount) {
	zoomLevel = zoomLevel + amount*20;
	if (zoomLevel>100)
	{	decBttn.style.visibility="visible";
	}	else
	{	decBttn.style.visibility="hidden";
	}
	if (zoomLevel<200)
	{	incBttn.style.visibility="visible";
	}	else
	{	incBttn.style.visibility="hidden";
	}
	document.body.focus();
	setPictureWidth(996,479,0);
}

/*	Preliminary Settings - After Page is Loaded*/
/*	If JavaScript is Enabled, Do This Once Only After The Page Is Loaded*/
if (allowScript)
{	
	var zoomLevel=100;
	var divID = document.getElementById("main");
	var rightID = document.getElementById("mainRight");
	var leftMargin = document.getElementById("leftMargin");
	var rightMargin = document.getElementById("rightMargin");
	var midDiv = document.getElementById("middle");
	var topMargin = document.getElementById("top");
	var mainHeader = document.getElementById("header-middle");
	var bottomMargin = document.getElementById("bottom");
	var spacer = document.getElementById("bg0");
	var logo = document.getElementById("topLogo");
	if (document.getElementById("decButton"))	
	{	var incBttn = document.getElementById("incButton");
		var decBttn = document.getElementById("decButton");
		incBttn.style.visibility="visible";
	}
	if (document.getElementById("apDiv1"))	
	{	var apDv1 = document.getElementById("apDiv1");
	}
	if (document.getElementById("noScrollbars"))	
	{	var noScrlls = document.getElementById("noScrollbars");
	}
	if (document.getElementById("bg"))	
	{	var bgPic = document.getElementById("bg");
	}
	else if (document.getElementById("bg1"))
	{	var colChoicePics = divID.getElementsByTagName("img");
		var colChoicePicQty = 3;
		var initialColChoicePicHeight = 899;
		var initialColChoicePicWidth = 612;
/*		var colChoiceLinks = main.getElementsByTagName("a");*/
	}
	else if (document.getElementById("selectPhoto"))
	{	var selectPhotos = document.getElementById("selectPhoto");
		var displayArea = document.getElementById("display");
		var upPh = document.getElementById("upPhoto");
		var dnPh = document.getElementById("downPhoto");
		var fdPh = document.getElementById("forwardPhoto");
		var bkPh = document.getElementById("backPhoto");
		var ph1 = document.getElementById("photo1");
		var ph2 = document.getElementById("photo2");
		var ph3 = document.getElementById("photo3");
		var ph4 = document.getElementById("photo4");
		var ph5 = document.getElementById("photo5");
		var im1 = document.getElementById("img1");
		var im2 = document.getElementById("img2");
		var im3 = document.getElementById("img3");
		var im4 = document.getElementById("img4");
		var im5 = document.getElementById("img5");
		if (document.getElementById("photo13"))
		{	var displayPhoto = document.getElementById("lookBookPhoto");
			var ph6 = document.getElementById("photo6");
			var ph7 = document.getElementById("photo7");
			var ph8 = document.getElementById("photo8");
			var ph9 = document.getElementById("photo9");
			var ph10 = document.getElementById("photo10");
			var ph11 = document.getElementById("photo11");
			var ph12 = document.getElementById("photo12");
			var ph13 = document.getElementById("photo13");
			var ph14 = document.getElementById("photo14");
			var ph15 = document.getElementById("photo15");
			var im6 = document.getElementById("img6");
			var im7 = document.getElementById("img7");
			var im8 = document.getElementById("img8");
			var im9 = document.getElementById("img9");
			var im10 = document.getElementById("img10");
			var im11 = document.getElementById("img11");
			var im12 = document.getElementById("img12");
			var im13 = document.getElementById("img13");
			var im14 = document.getElementById("img14");
			var im15 = document.getElementById("img15");
		}	else if (document.getElementById("photo6"))
		{	var displayPhoto = document.getElementById("galleryPhoto");
			var ph6 = document.getElementById("photo6");
			var ph7 = document.getElementById("photo7");
			var ph8 = document.getElementById("photo8");
			var ph9 = document.getElementById("photo9");
			var ph10 = document.getElementById("photo10");
			var ph11 = document.getElementById("photo11");
			var ph12 = document.getElementById("photo12");
			var im6 = document.getElementById("img6");
			var im7 = document.getElementById("img7");
			var im8 = document.getElementById("img8");
			var im9 = document.getElementById("img9");
			var im10 = document.getElementById("img10");
			var im11 = document.getElementById("img11");
			var im12 = document.getElementById("img12");
		}	else
		{	var displayPhoto = document.getElementById("runwayPhoto");
		}
	}
	else if (document.getElementById("select"))
	{	var selectArea = document.getElementById("select");
		var displayArea = document.getElementById("display");
		var videoDisplay = document.getElementsByTagName("video");
		var videoPlayer = document.getElementById("player1");
		var initialVideoHeight = 345;
		var initialVideoWidth = 580;
	}
	else if (document.getElementById("aboutLeft"))
	{	var aboutPic = document.getElementById("aboutLeft");
		var aboutText = document.getElementById("aboutRight");
		var monikaPic = document.getElementById("monika");
		if (document.getElementById("contacts"))
		{	var contactsDiv = document.getElementById("contacts");
			var storesDiv = document.getElementById("stores");
			var storesLeft = document.getElementById("stores-left");
			var mMap = document.getElementById("map");
			var madelenMap = document.getElementById("madelenMmap");
		}
	}
	else if (document.getElementById("blog"))
	{	var blg = document.getElementById("blog");
	}
	var picLinks = rightID.getElementsByTagName("a");
	var allPics = rightID.getElementsByTagName("img");
	var howMany = allPics.length;
	var initialPicHeight = new Array();
	var initialPicWidth = new Array();
	var initialChoiceFontSize = 20;
	for (var count=0; count < howMany; count++)
	{	initialPicHeight[count] = allPics[count].height;
		initialPicWidth[count] = allPics[count].width;
	}
	setPictureWidth(996,479,0);
}
// End -->
