function cataPult(theURL,windowname,horz,vert,resizeMe) {
	if (resizeMe == null) { resizeMe = 1; }
	hCent	= (screen.availWidth / 2) - (horz / 2);
	vCent = (screen.availHeight / 2) - (vert / 2);
	window.open(theURL, windowname,'toolbar=0,location=0,directories=0,status=no,left=' + hCent + ',top=' + vCent + ',menubar=0,scrollbars=' + resizeMe + ',resizable=' + resizeMe + ',width=' + horz + ',height=' + vert );
}

function targetNew(theURL,windowname,horz,vert) {
	hCent	= (screen.availWidth / 2) - (horz / 2);
	vCent = (screen.availHeight / 2) - (vert / 2);
	window.open(theURL, windowname,'toolbar=0,location=yes,directories=0,status=yes,left=' + hCent + ',top=' + vCent + ',menubar=0,scrollbars=yes,resizable=1,width=' + horz + ',height=' + vert );
}

function playIt(theURL,windowname,horz,vert,resizeMe) {
	if (resizeMe == null) { resizeMe = 1; }
	hCent	= (screen.availWidth / 2) - (horz / 2);
	vCent = (screen.availHeight / 2) - (vert / 2);
	window.open(theURL, windowname,'toolbar=0,location=0,directories=0,status=no,left=' + hCent + ',top=' + vCent + ',menubar=0,scrollbars=no,resizable=' + resizeMe + ',width=' + horz + ',height=' + vert );
}

function popLock(theURL,windowname,horz,vert,resizeMe) {
	if (resizeMe == null) { resizeMe = 1; }
	hCent	= (screen.availWidth / 2) - (horz / 2);
	vCent = (screen.availHeight / 2) - (vert / 2);
	window.open(theURL, windowname,'toolbar=0,location=0,directories=0,status=0,left=' + hCent + ',top=' + vCent + ',menubar=0,scrollbars=no,resizable=' + resizeMe + ',width=' + horz + ',height=' + vert );
}

// pull-down menus

function openURL()
{ 
selInd = document.jump.menu.selectedIndex; 
goURL = document.jump.menu.options[selInd].value;
top.location.href = goURL; 
}

function openURL2()
{ 
selInd = document.jump2.menu2.selectedIndex; 
goURL = document.jump2.menu2.options[selInd].value;
top.location.href = goURL; 
}

function openURL3()
{ 
selInd = document.jump2.menu3.selectedIndex; 
goURL = document.jump2.menu3.options[selInd].value;
top.location.href = goURL; 
}

function openURL4()
{ 
selInd = document.jump2.menu4.selectedIndex; 
goURL = document.jump2.menu4.options[selInd].value;
top.location.href = goURL; 
}

// image swapping function for product additional views handling

function imgSwap(newImg) {
	imgToUpdate = 'preview';
	myImg = document.images[imgToUpdate];
	myImg.src = 'collections/images/'+newImg;
}




