//<!--

// Handles popups for www.finecases.com

popupWin = null;
leftPos = 25;
topPos = 25;

function warranty_popup(brand) { 
	if (screen) {
	leftPos = (screen.width / 2) - 210
	topPos = (screen.height / 2) - 210
	}
popupWin = window.open('/common_items/_warranty.html?bn='+brand, 'WarrantyDetail_'+brand, 'height=420,width=420,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=no,menubar=no,directories=no,location=no,status=no,');
popupWin.focus();
}

function colorchoice_disclaimer() { 
	if (screen) {
	leftPos = (screen.width / 2) - 220
	topPos = (screen.height / 2) - 220
	}
popupWin = window.open('/common_items/color_disclaimer.html', 'colorchoiceDisclaimer', 'height=420,width=440,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=no,menubar=no,directories=no,location=no,status=no,');
ckBlock();
popupWin.focus();
}

function setbrowsepops(){
document.cookie='browseshowpops'+'='+'true'+';expires='+''+';Path=/';
}

function clearbrowsepops(){
document.cookie='browseshowpops'+'='+'false'+';expires='+''+';Path=/';
}

function availableChoices(fcid){ 
	if (screen) {
	leftPos = (screen.width / 2) - 250
	topPos = (screen.height / 2) - 225
	}
popupWin = window.open('/about/backordersPopup.html?fcid=' + fcid, 'ViewChoices' + fcid, 'height=450,width=500,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=yes,menubar=no,directories=no,location=no,status=no,');
ckBlock();
popupWin.focus();
}

function moreText(extTxt){ 
	if (screen) {
	leftPos = (screen.width / 2) - 230
	topPos = (screen.height / 2) - 250
	}
popupWin = window.open('/common_items/extendedDescription.html?text=' + extTxt, 'ExtendedText', 'height=500,width=460,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=yes,menubar=no,directories=no,location=no,status=no,');
ckBlock();
popupWin.focus();
}

function selectExt(array) {
	document.selectTOOL.choice_extcolor[array].selected = true;
}

function selectInt(array) {
	document.selectTOOL.choice_intcolor[array].selected = true;
}

function selectFlex1(array) {
	document.selectTOOL.choice_flex1[array].selected = true;
}

function selectFlex2(array) {
	document.selectTOOL.choice_flex2[array].selected = true;
}

function selectFlex3(array) {
	document.selectTOOL.choice_flex3[array].selected = true;
}

function selectFlex4(array) {
	document.selectTOOL.choice_flex4[array].selected = true;
}

function selectFlex5(array) {
	document.selectTOOL.choice_flex5[array].selected = true;
}

function selectFlex6(array) {
	document.selectTOOL.choice_flex6[array].selected = true;
}

function selectFlex7(array) {
	document.selectTOOL.choice_flex7[array].selected = true;
}

//-->