

function goToPagesearch(thisForm) {

newPage = thisForm.idSearch.options[thisForm.idSearch.selectedIndex].value;

if (newPage != "") window.location = newPage;

return false;

}



function goToPage(thisForm) {

newPage = thisForm.idBrowse.options[thisForm.idBrowse.selectedIndex].value;

if (newPage != "") window.location = newPage;

return false;

}



function func_name() {

    document.form_name.submit();

}



function popup(mylink, windowname)

{

if (! window.focus)return true;

var href;

if (typeof(mylink) == 'string')

   href=mylink;

else

   href=mylink.href;

window.open(href, windowname, 'width=235,height=520,left=0,top=0,scrollbars=yes');

return false;

}



function popup1(mylink, windowname)

{

if (! window.focus)return true;

var href;

if (typeof(mylink) == 'string')

   href=mylink;

else

   href=mylink.href;

window.open(href, windowname, 'width=235,height=620,left=0,top=0,scrollbars=yes');

return false;

}



function popup2(mylink, windowname)

{

if (! window.focus)return true;

var href;

if (typeof(mylink) == 'string')

   href=mylink;

else

   href=mylink.href;

window.open(href, windowname, 'width=375,height=500,left=0,top=0,scrollbars=yes');

return false;

}





function popUp3(URL) {

day = new Date();

id = day.getTime();

eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=550,left = 326,top = 157');");

}



function wopen6(){

        var wo6

	wo6=window.open("","gj","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=375");

        wo6.location.href="http://www.idealskin.com/scstore/subscribe.html";

        return wo6;

}



// DoPopup Window



<!-- TWO STEPS TO INSTALL DELAYED POPUP:



//  1.  Copy the coding into the HEAD of your HTML document

//  2.  Add the onLoad event handler into the BODY tag  -->

// http://www.sitenavigation.net/popup_window.html

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<!-- Original:  Ronnie T. Moore, Editor -->

<!-- Web Site:  The JavaScript Source -->

<!-- This script and many more are available free online at -->

<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin

closetime = 0; // Close window after __ number of seconds?

// 0 = do not close, anything else = number of seconds



function Start(URL, WIDTH, HEIGHT) {

windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;

preview = window.open(URL, "preview", windowprops);

if (closetime) setTimeout("preview.close();", closetime*1000);

}



function doPopup() {

url = "distributor.html";

width = 280;  // width of window in pixels

height = 595; // height of window in pixels

delay = 2;    // time in seconds before popup opens

timer = setTimeout("Start(url, width, height)", delay*1000);

}

//  End -->





<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->





// end hide -->

// next two functions are for the search engine
function killerrors(){return true;}window.onerror = killerrors;

function checkData(){for(var i=0;i<document.form_search.sw.value.length;i++){if (document.form_search.sw.value.charAt(i)=!" "){return true;}}return false;}
