function checkFrame( framename, frameset) { if (this.frames.name != framename) { this.location.href = 'http://www.abb.com' + maindb + '!OpenDatabase&db=' + leftmenudb + '&v=' + categoryCode + menuredirect + '&e=us&url=' + 'http://gad01-01.se.abb.com/global/gad/Gad02265.nsf/wFramesetBy' + frameset + '!OpenPage' } } function checkFrame_intranet( framename, frameset) { if (this.frames.name != framename) { this.location.href = 'http://gad01-50.de.abb.com/global/gad/gad01385.nsf!OpenDatabase&db=/global/gad/gad00072.nsf&v=3B5E&e=us&e=us&url=' + 'http://gad01-01.se.abb.com/global/gad/Gad02265.nsf/wFramesetBy' + frameset + '_intranet!OpenPage' } } function printPage2( auxurlStr ) { if (nn) { printWindow = window.open(thisdb + auxurlStr); } else { printWindow = window.open(thisdb + auxurlStr , "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function printPage( type, category) { if (nn) { printWindow = window.open(thisdb + "/wSolutionsBy" + type + "?OpenForm&RestrictToCategory=" + category); } else { printWindow = window.open(thisdb + "/wSolutionsBy" + type + "?OpenForm&RestrictToCategory=" + category, "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function printPage_intranet( type, category) { if (nn) { printWindow = window.open(thisdb + "/wSolutionsBy" + type + "?OpenForm&RestrictToCategory=" + category); } else { printWindow = window.open(thisdb + "/wSolutionsBy" + type + "?OpenForm&RestrictToCategory=" + category, "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function printDocument( ) { if (nn) { printWindow = window.open("/" + thisdb + "/wPrintSolution/" + unid + "?OpenDocument"); } else { printWindow = window.open("/" + thisdb + "/wPrintSolution/" + unid + "?OpenDocument", "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function printDocument2( ) { if (nn) { printWindow = window.open("/" + thisdb + "/wPrintSolution2/" + unid + "?OpenDocument"); } else { printWindow = window.open("/" + thisdb + "/wPrintSolution2/" + unid + "?OpenDocument", "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function printDocument_intranet( ) { if (nn) { printWindow = window.open("/" + thisdb + "/wPrintSolution_intranet/" + unid + "?OpenDocument"); } else { printWindow = window.open("/" + thisdb + "/wPrintSolution_intranet/" + unid + "?OpenDocument", "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function printDocument_intranet2( ) { if (nn) { printWindow = window.open("/" + thisdb + "/wPrintSolution_intranet2/" + unid + "?OpenDocument"); } else { printWindow = window.open("/" + thisdb + "/wPrintSolution_intranet2/" + unid + "?OpenDocument", "printWindow", "width=665, height=540, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1, copyHistory=0, alwaysRaised=1"); } printWindow.focus(); } function bookmarkPage() { if (ie) { window.external.AddFavorite(this.location.href, document.title); } else { alert("Your browser does not support opening of the bookmark/favorites window.\n\nBookmark this page manually by clicking on your right mouse button in the content part of the window."); } } function emailPage() { emailWindow = window.open("/" + thisdb + "/wfrmMailToFriend?ReadForm&c=" + unid + "&db="+ thisdb, "emailWindow", "menubar=0,status=0,location=0,toolbar=0,scrollbars=0,resizable=0,height=360,width=430"); emailWindow.focus(); } function onChangeCountryCategory(scCat,cntry) { if (scCat != "" & scCat != "skip" & cntry !="skip") { openSalesContacts(scCat,cntry); } } function openSalesContacts(scCategory,scCountry) { href = document.URL; window.open("/" + "global/seitp/seitp179.nsf" + "/frmWebFrameset?ReadForm&SClang=" + language + "&SCcat=" + scCategory + "&SCcountry=" + scCountry + "&SCref=" + href + "&SC", "_new","width=420,height=544,resizable=no,toolbar=no,titlebar=yes,status=no,scrollbar=no,menubar=no,location=no"); }