function WinPopFabric(Fabrics){
	w = 350
	h = 400
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	URL = '/common/ProdDetail/fabricframe.asp' + Fabrics
	win = window.open(URL, 'ProdDetail', winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }	
}//End function

function WinPopSize(){
	w = 450
	h = 200
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open('/common/POP_Size.asp', 'WinSize', winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }	
}//End function

function WinPopPicture(Picture){
	w = 300
	h = 600
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	URL = '/common/ProdDetail/piclargemain.asp?PIC=' + Picture
	win = window.open(URL, 'ProdDetail', winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }	
}//End function

function UpdateDesc(strData){
	document.getElementById('txtFabDesc').value = strData;
}//End function

var mouseX, mouseY;
function ImageVis() {
	mouseX = window.event.clientX - 115; //+ document.body.scrollLeft;
	mouseY = window.event.clientY - 165; //+ document.body.scrollTop;
	tipDiv.style.top= mouseY + "px";		
	tipDiv.style.left= mouseX + "px";		
}

function ImageLoad(ImageName){
	document.getElementById("FabricDiv").src = '/images/fabric/' +  ImageName + '.jpg';
	tipDiv.style.visibility='visible';
}

function ImageHid() {
	tipDiv.style.visibility='hidden'
	document.getElementById("FabricDiv").src = '/images/spacer.gif';
}