
	
function GoToLCCI() {
	var ww =window.open('/PHP/LCC.html','smallwin1', 'height=640,width=640,resizable=yes'); 
	ww.focus();
	return false;  
}
function ShowImages($ItemCode) {
	var wx =window.open('/PHP/ShowImages.php?itemcode=' + $ItemCode,'smallwin2', 'height=600,width=800,resizable=yes,scrollbars=yes'); 
	wx.focus();
	return false;  
}
function NewShowImages($ItemCode) {
	var wx =window.open('/PHP/NewShowImages.php?imageindex=0&imageavail=1&itemcode=' + $ItemCode,'smallwin2', 'height=480,width=640,resizable=yes,scrollbars=yes'); 
	wx.focus();
	return false;  
}
function CustomEstimate($Item) {
	var wd =window.open('/PHP/CustomQuiltRequest.php?itemcode=' + $Item,'smallwin3', 'height=600,width=700,resizable=yes,scrollbars=yes'); 
	wd.focus();
	return false;  
}
function QuiltAvail($ItemCode) {
	var wc =window.open('/PHP/QuiltAvailable.php?itemcode=' + $ItemCode,'smallwin4', 'height=570,width=600,resizable=yes,scrollbars=yes'); 
	wc.focus();
	return false;  
}
function EMailUs() {
	var wy =window.open('/PHP/EMail.php','smallwin5', 'height=570,width=600,resizable=yes,scrollbars=yes'); 
	wy.focus();
	return false;  
}
function QuiltAlert() {
	var wb =window.open('/PHP/NewQuiltAlert.php','smallwin6', 'height=570,width=600,resizable=yes,scrollbars=yes'); 
	wb.focus();
	return false;  
}
function Tour() {
	if(screen.width>950){
		var wz =window.open('/PHP/Tour2007.php','smallwin7', 'height=630,width=920,resizable=yes,scrollbars=yes'); 
	}
	else {
		var wz =window.open('?PHP/STour2007.php','smallwin7', 'height=560,width=810,resizable=yes,scrollbars=yes'); 
	}
	wz.focus();
	return false;  
}

function FavoriteInfo() {
	var wa =window.open('/PHP/FavoriteStack.html','smallwin8', 'height=400,width=400,resizable=yes,scrollbars=yes'); 
	wa.focus();
	return false;  
}

function OpenWC(ItemCode,ItemName) {
	var we =window.open("/PHP/WallColor.php?scode=" + ItemCode+ "&stitle=" + ItemName , 'smallwin9', 'height=500,width=700,resizable=yes,scrollbars=yes'); 
	we.focus();
}
function OpenWow() {
	ccols=Math.floor(screen.availWidth/230) -1;
	swidth=(230 * ccols) +180 ;

	crows=Math.floor(screen.availHeight/160) -1;
	sheight=(160 * crows) +160 ;

	var wd =window.open('/PHP/Wow.php?r=' + crows + '&c=' + ccols ,'wowwin', 'height=' + sheight + ',width=' + swidth + ',resizable=yes,scrollbars=yes'); 
	wd.focus();
	return false;  
}

function whichBrs() {
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}