<!--

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

// Image MouseOver functions
if (document.images) 
img0_on = new Image();
img0_on.src="images/main_03_on.gif";
img1_on = new Image();
img1_on.src="images/main_04_on.gif";
img2_on = new Image();
img2_on.src="images/main_05_on.gif";
img3_on = new Image();
img3_on.src="images/main_06_on.gif";
img4_on = new Image();
img4_on.src="images/main_07_on.gif";
img5_on = new Image();
img5_on.src="images/main_08_on.gif";

order1_on = new Image();
order1_on.src="images/order_off.jpg";
order2_on = new Image();
order2_on.src="images/order_off.jpg";
order3_on = new Image();
order3_on.src="images/order_off.jpg";
order4_on = new Image();
order4_on.src="images/order_off.jpg";

img0_off = new Image();
img0_off.src="images/main_03_off.gif";
img1_off = new Image();
img1_off.src="images/main_04.gif";
img2_off = new Image();
img2_off.src="images/main_05.gif";
img3_off = new Image();
img3_off.src="images/main_06.gif";
img4_off = new Image();
img4_off.src="images/main_07.gif";
img5_off = new Image();
img5_off.src="images/main_08.gif";

order1_off = new Image();
order1_off.src="images/order_over.jpg";
order2_off = new Image();
order2_off.src="images/order_over.jpg";
order3_off = new Image();
order3_off.src="images/order_over.jpg";
order4_off = new Image();
order4_off.src="images/order_over.jpg";

function over_image(parm_name)
{
document[parm_name].src = eval(parm_name + "_on.src");
}
function off_image(parm_name)
{
document[parm_name].src = eval(parm_name + "_off.src");
}

function popupR(URL) {
	var winwidth = 690; 
	var winheight = 400;
	var winleft   = 25; 
	var wintop    = 25;
		
	if (URL == 'CarApplication.pdf') {
	window.open(URL, "pdf", 'scrollbars=0,menubar=0,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else if (URL == 'vendorApp.pdf') {
	window.open(URL, "pdf", 'scrollbars=0,menubar=0,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else if (URL == 'rvapp.pdf') {
	window.open(URL, "pdf", 'scrollbars=0,menubar=0,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else if (URL == 'vendorApp.htm') {
	window.open(URL, "pdf", 'scrollbars=1,menubar=1,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else if (URL == 'CarApplication.htm') {
	window.open(URL, 'htm', 'scrollbars=1,menubar=1,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + ', screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else if (URL == 'rvapp.htm') {
	window.open(URL, "htm", 'scrollbars=1,menubar=1,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else if (URL == 'http://www.gopismo.com/entries.asp') {
	window.open(URL, "htm", 'scrollbars=1,menubar=1,resizable=0,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	} else {
	return;
	}
}

var  mypopup=null

// Function that controls the pop-ups
function popup(URL, winW, winH) {
	var winwidth = winW; 
	var winheight = winH;
	var winleft   = 50; 
	var wintop    = 25;
	
	if ( mypopup && !mypopup.closed )
		{ mypopup.close();
		}
mypopup = window.open(URL, "pic", 'scrollbars=0,menubar=1,resizable=0,background=white,toolbar=0,status=0,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
	
}
//-->