//----------------------------------------------------------------------------------------------- //TAG US! //----------------------------------------------------------------------------------------------- function DIGGit(href, title, media){ href = href.replace('http://www.securelement.com/', 'http://www.securelement.com/'); //alert('http://digg.com/submit?url='+encodeURIComponent(href)+'&title='+encodeURIComponent(title)+'&media=' + media + '&thumbnails=0'); window.open('http://digg.com/submit?url='+encodeURIComponent(href)+'&title='+encodeURIComponent(title)+'&media=' + media + '&thumbnails=0', 'DuggIt', 'scrollbars=yes,menubar=no,width=800,height=600,resizable=yes,toolbar=no,location=no,status=no'); } function itsDELICIOUS(href, title){ href = href.replace('http://www.securelement.com/', 'http://www.securelement.com/'); //alert('http://delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(href)+'&title='+encodeURIComponent(title)); window.open('http://delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(href)+'&title='+encodeURIComponent(title), 'delicious','toolbar=no,width=550,height=550'); } //----------------------------------------------------------------------------------------------- //FORM CONTROLS //----------------------------------------------------------------------------------------------- function buttonON(obj) { obj.className = "controls_button_hover"; return; } function buttonOFF(obj) { obj.className = "controls_button"; return; } //----------------------------------------------------------------------------------------------- //FORM CONTROLS //----------------------------------------------------------------------------------------------- function openreqwindow() { var reqpage = 'supportrequest.aspx'; var siteroot = 'http://www.securelement.com/'; newCustomWindow(reqpage, 410, 445); } //----------------------------------------------------------------------------------------------- //POP UPS //----------------------------------------------------------------------------------------------- var icustomwindow; function newCustomWindow(file,width,height,resize) { window.open(file,"icustomwnd","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,height=" + height + ",width=" + width + ",resizable=" + resize + ",screenx=" + (screen.availWidth - width)/2 + ",screeny=" + (screen.availHeight - height)/2 + ",left=" + (screen.availWidth - width)/2 + ",top=" + (screen.availHeight - height)/2); } function newCustomWindowFrame(file,width,height,resize) { window.open(file,"icustomwnd","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,height=" + height + ",width=" + width + ",resizable=" + resize + ",screenx=" + (screen.availWidth - width)/2 + ",screeny=" + (screen.availHeight - height)/2 + ",left=" + (screen.availWidth - width)/2 + ",top=" + (screen.availHeight - height)/2); } function openPopup(url,name,width,height) { var oWindow; oWindow = window.open( url, name,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + width + ',height=' + height ); return oWindow; } function openFlashDemo(url,name) { window.open( url, name,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=701,height=459' ); } function openSignupForm(url,name) { window.open( url, name,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=701,height=459' ); } function openSolutionTestimonial(url,name) { window.open( url, name,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=300' ); } function openDesktop(file,width,height) { var oWindow = openPopup('','desktop',width,height); oWindow.document.write( '' ); oWindow.document.write( '
' ); oWindow.document.write( '