<!-- Begin POP-UP SIZES AND OPTIONS CODE


// ONLY USE lowercase FOR ALL OPTIONS


// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON


var close_button 	= "yes"		// GALLERY CLOSE BUTTON ON/OFF
right_click_on		= "yes"		// RIGHT CLICK PROTECTION ON


// OTHER OPTIONS YOU CAN CHANGE


border_color		= "000000"	// PICTURE OUTLINE COLOR
var background_colors	= "948B6D"	// BACKROUND COLOR OF THE GALLERY POPUP

var view_width 		= 650		// GALLERY POPUP WIDTH
var view_height 	= 475		// GALLERY POPUP HEIGHT

var FAQ_width 		= 400		// FAQ POPUP WIDTH
var FAQ_height 		= 500		// FAQ POPUP HEIGHT

var scrollbarS 		= "0"		// TURN ON POPUP SCROLLBARS "1" FOR ON "0" FOR OFF
var faqscrollbarS 	= "0"		// TURN ON FAQ SCROLLBARS "1" FOR ON "0" FOR OFF

var SearchscrollbarS= "1"		// TURN ON SEARCH SCROLLBARS "1" FOR ON "0" FOR OFF
var SearchHeight	= "500"		// SEARCH POPUP HEIGHT
var SearchWidth		= "800"		// SEARCH POPUP WIDTH



// COPYRIGHT 2004 © Allwebco Design Corporation
// Unauthorized use or sale of this script is strictly prohibited by law
// Modified 10.10.2004 BBerger

// YOU DO NOT NEED TO EDIT BELOW THIS LINE

// START POPUP CODE
 
    function QueryStringPart(){ 
        var query = window.location.search.substring(1);
        query = unescape(query); 
        var pairs = query.split("&"); 
        for (var i=0;i<pairs.length;i++){
            var pos = pairs[i].indexOf('=');
            if (pos >= 0){
                var argname = pairs[i].substring(0,pos);
                    if (argname == 'part') {
                        var value = pairs[i].substring(pos+1);
                        return value;
                    }
                }
            }
            return "";
        }
    function GetWebLink() {
        document.getElementById("iFrame").src="http://www.icsource.com/icsourcewdl/icswd2l.aspx?user=hyperact&part=" + QueryStringPart();
    }



function popUp(URL) {
var look='toolbar=0,scrollbars=' + scrollbarS + ',location=0,statusbar=0,menubar=0,resizable=0,width='+view_width+',height='+view_height+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title></title>')
popwin.document.write('<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'You may not right mouse click this page.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<body bgcolor="#'+background_colors+'" onload="GetWebLink()" leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginheight=0 marginwidth=0>')
popwin.document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%" ><tr><td align="center">')
popwin.document.write('<br>')
popwin.document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#' + border_color + '" style="border-collapse:collapse"><tr><td>')
popwin.document.write('<img src="'+URL+'">')
popwin.document.write('</td></tr></table>')
   if (close_button == "yes") {
popwin.document.write('</td></tr><tr><td valign="bottom" align="center">')
popwin.document.write('<br><form style="margin: 0px"><input type="button" value="Close" onClick=\'self.close()\' onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'" class="button-popups"></form>')
}
popwin.document.write('</td></tr></table>')
popwin.document.write('</body>')
popwin.document.close()
}




// START FAQ POPUP



function popUpFAQ(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=' + faqscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+FAQ_width+',height='+FAQ_height+'');");
}


// START SEARCH POPUP

function popUpSearch() {
var look='toolbar=0,scrollbars=' + SearchscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+SearchWidth+',height='+SearchHeight+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>HyperActive Components Search</title>')
popwin.document.write('<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'You may not right mouse click this page.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
 
}
popwin.document.write('</head>')
popwin.document.write('<frameset rows="94,*" cols="*" frameborder="no" and border="0">')
popwin.document.write('<frame src="header_frame.htm" name="topframe" frameborder="0" scrolling="no" noresize marginwidth="0" marginheight="0">')
popwin.document.write('<frameset rows="321,35" cols="*" frameborder="no" and border="0">')
popwin.document.write('<frameset rows="*" cols="190,*" frameborder="no" and border="0">')
popwin.document.write('<frame src="leftframe.htm" name="leftframe" frameborder="0" scrolling="no" noresize marginwidth="0" marginheight="0">')
popwin.document.write('<frame src="bodyframe.htm" frameborder="0" noresize marginwidth="0" marginheight="0" scrolling="yes">')
popwin.document.write('</frameset>')
popwin.document.write('<frame src="footerframe.htm" name="footer" scrolling="no" noresize marginwidth="0" marginheight="0">')
popwin.document.write('</frameset>')
popwin.document.write('</frameset>')
popwin.document.write('<noframes><body> This page requires a browser that supports frames. ')
popwin.document.write('</body></noframes>')
popwin.document.write('</html>')
popwin.document.close()
}




// START QUICK SEARCH POPUP

function popUpQuickSearch(strPart) {
var look='toolbar=0,scrollbars=' + SearchscrollbarS + ',location=0,statusbar=0,menubar=0,resizable=1,width='+SearchWidth+',height='+SearchHeight+','
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<html><head><title>HyperActive Components Inventory Search</title>')
popwin.document.write('<link rel=StyleSheet href="corporatestyle.css" type="text/css" media="screen">')
   if (right_click_on == "yes") {
popwin.document.write('<META HTTP-EQUIV="imagetoolbar" CONTENT="no">')
popwin.document.write('<script language="JavaScript">')
popwin.document.write('function noRightClick() {')
popwin.document.write('if (event.button==2) {')
popwin.document.write('alert(\'You may not right mouse click this page.\')')
popwin.document.write('}')
popwin.document.write('}')
popwin.document.write('document.onmousedown=noRightClick')
popwin.document.write('</script>')
}
popwin.document.write('</head>')
popwin.document.write('<frameset rows="94,*" cols="*">')
popwin.document.write('<frame src="header_frame.htm" name="topframe" frameborder="0" scrolling="no" noresize marginwidth="0" marginheight="0">')
popwin.document.write('<frameset rows="321,35" cols="*">')
popwin.document.write('<frameset rows="*" cols="190,*">')
popwin.document.write('<frame src="leftframe.htm" name="leftframe" frameborder="0" scrolling="no" noresize marginwidth="0" marginheight="0">')
popwin.document.write('<frame src="http://www.icsource.com/icsourcewdl/icswdl2.aspx?user=hyperact&part= ' + strPart + '" frameborder="0" noresize marginwidth="0" marginheight="0" scrolling="yes">')
popwin.document.write('</frameset>')
popwin.document.write('<frame src="footerframe.htm" name="footer" scrolling="no" noresize marginwidth="0" marginheight="0">')
popwin.document.write('</frameset>')
popwin.document.write('</frameset>')
popwin.document.write('<noframes><body> This page requires a browser that supports frames. ')
popwin.document.write('</body></noframes>')
popwin.document.write('</html>')
popwin.document.close()
}

//  End -->
