function newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}function changeImages() {	if (document.images && (preloadFlag == true)) {		for (var i=0; i<changeImages.arguments.length; i+=2) {			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];		}	}}var preloadFlag = false;function preloadImages() {	if (document.images) {		loring_over = newImage("/images/header/loringpastabar_on.gif");		kck_over = newImage("/images/header/kittycatklub_on.gif");				lpb_location_on = newImage("/images/left_nav/location_on.gif");		lpb_photos_on = newImage("/images/left_nav/photos_on.gif");		lpb_contact_on = newImage("/images/left_nav/contact_on.gif");		lpb_review_on = newImage("/images/left_nav/reviews_on.gif");		lpb_background_on = newImage("/images/left_nav/background_on.gif");		lpb_music_on = newImage("/images/left_nav/music_on.gif");		lpb_menus_on = newImage("/images/left_nav/menus_on.gif");						kck_location_on = newImage("/images/right_nav/location_on.gif");		kck_photos_on = newImage("/images/right_nav/photos_on.gif");		kck_contact_on = newImage("/images/right_nav/contact_on.gif");		kck_review_on = newImage("/images/right_nav/reviews_on.gif");		kck_background_on = newImage("/images/right_nav/background_on.gif");		kck_music_on = newImage("/images/right_nav/music_on.gif");		kck_menus_on = newImage("/images/right_nav/menus_on.gif");				preloadFlag = true;	}}var newWindow = null;function closeWin(){	if (newWindow != null){		if(!newWindow.closed)			newWindow.close();	}}function popUpWin(url, type, strWidth, strHeight){		closeWin();		if (type == "fullScreen"){		strWidth = screen.availWidth - 10;		strHeight = screen.availHeight - 160;	}		var tools="";	if (type == "standard" || type == "fullScreen") {		tools = "resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,width="+strWidth+",height="+strHeight+",top=0,left=0";	}	if (type == "console") {		tools = "resizable,toolbar=no,location=no,scrollbars=no,width="+strWidth+",height="+strHeight+",left=110,top=220";	}		newWindow = window.open(url, 'menuItem', tools);	newWindow.focus();}