/* ===== Main JavaScript ===== */

// +++ pop-up window 250 x 200

function openPopup250(newWindow) {
 	newOpenWindow = window.open(newWindow, 'newWindow', 'width=250,height=200,left=100,top=100')
 
	newOpenWindow.focus()
    }

// =========================

// +++ pop-up flash ad window 300 x 250

function openFlashAd(newWindow) {
 	newFlashWindow = window.open(newWindow, 'newAd', 'width=301,height=251,left=300,top=100')

	newFlashWindow.focus()
 	}

// =========================

// +++ pop-up window 520 x 450

function openPopup475(newWindow) {
 	newOpenWindow = window.open(newWindow, 'newWindow', 'resizable,scrollbars=yes,width=520,height=475,left=100,top=20')
 
	newOpenWindow.focus()
    }

// =========================

// ++++ remote auto search window

function makeRemote(url) {
remote = window.open("",'remoteWin','resizable,width=490,height=480,left=0,top=0');
remote.location.href = url;
if (remote.opener == null) remote.opener = window; 
remote.opener.name = "opener";
remote.focus()
}


// =========================

// +++ remote advanced search popup window 320 x 320

 function makeSearch(url) {
  remote = window.open("",'remoteWindow','resizable,width=320,height=320,left=0,top=0');
  remote.location.href = url;
  if (remote.opener == null) remote.opener = window; 
  remote.opener.name = "opener";
  remote.focus()
  }

// =========================

// +++ pop-up map window 

function openMap(newWindow) {
 	newOpenMap = window.open(newWindow, 'newMap', 'resizable,scrollbars=yes,width=460,height=470,left=10,top=10')
 
	newOpenMap.focus()
    }

// =========================

//  ==== pop-up coupon 640 x 350 (coupon)

function openPopup1(newCoupon) {
      newCouponWindow = window.open(newCoupon, 'newCoup', 'width=640 height=350,left=0,top=0,scrollbars=yes,resizable')
 	
     newCouponWindow.focus()
     }

// =========================

function openPopup(newWindow) {
 	window.open(newWindow, 'newWindow', 'resizable,scrollbars=yes,width=600,height=525,left=10,top=10')
    }
	
// Open inquiry Forms
   function openFormPopup(newWindow) {
      newOpenForm = window.open(newWindow, 'newForm', 'width=470,height=350,left=20,top=20,resizable,scrollbars=yes')
 	
     newOpenForm.focus()
     }

// Open Print Windows
	function openPrintPopup(newWindow) {
 	window.open(newWindow, 'newWindow', 'resizable,scrollbars=yes,width=620,height=525,left=10,top=10')
    }