var phsn_ISBNOID='0-328-17699-0' function pageno() { var a; var a1; var d; var tfilename; var tfilename1; var fileLocation; fileLocation = window.location.href; tfilename=fileLocation.substring(fileLocation.lastIndexOf("/")+1); tfilename1=tfilename.substring(0,tfilename.length-5); var dot=tfilename1.indexOf(".") if (dot==-1) { a= tfilename1; } else { a= tfilename1.substr(0,dot); } a=a.replace("_","–"); var zero=a.indexOf("0"); if (zero==0) { a= a.substr(1); zero=a.indexOf("0"); if (zero==0) { a= a.substr(1); } var ndash=a.indexOf("–"); if (zero!=-1) { a= a.replace("–0","–"); a= a.replace("–0","–"); } } if(a=="vi1" || a=="vi2") { a="vi"; document.write("p."+" " + a); } else if(a=="viii4" || a=="viii5") { a="viii"; document.write("p."+" " + a); } else if(a=="xiv11" || a=="xiv12") { a="xiv"; document.write("p."+" " + a); } else if(a=="xviii16" || a=="xviii17") { a="xviii"; document.write("p."+" " + a); } else { document.write("p."+" " + a); } } /*******For handling the keycode for Internet explorer */ function handler(evnt) { x=document.itextmyform.txtgoto.value; if (document.layers) { keycd = evnt.which; } else { if (document.all) { evnt = window.event; keycd = evnt.keyCode; } if (keycd==13 || keycd==3) { Goto_Page(); } } } /*end */ /*****************for Capture the keypress events */ function blockA(e) { x=document.itextmyform.txtgoto.value; if (e.which==13 && x=="") { window.location.href= window.location.href; document.itextmyform.self; document.itextmyform.focus; window.location.href= window.location.href; } else if (e.which==13 || e.which==3 ) { Goto_Page(); } } /* end capture events */ /*This function for checking the IE version and Netscape above four version */ function gotoie() { if (navigator.appName == "Microsoft Internet Explorer") { if(window.event.keyCode==13 || window.event.keyCode==3) { Goto_Page(); return true; } } else if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4) { if(window.event.keyCode==13 || window.event.keyCode==3) { Goto_Page(); return true; } } else { Goto_Page(); return true; } } /* For Print Page */ function suffixPrintPage(fname) { var strLen; var i; var strFileName= new String(""); var strRet = new String(""); var strCharCode; var bContinue; strLen=fname.length; fname= fname.toUpperCase(); i=strLen; bContinue=1; while(i>=1 && bContinue==1) { strCharCode=fname.charCodeAt(i-1); if ((strCharCode >= 65) && (strCharCode <= 90)) { strFileName+= fname.substr(i-1,1); bContinue=1; } else { bContinue=0; } i=i-1; } strLen=strFileName.length; for (i=strLen;i>=1;i--) { strRet+=strFileName.substr(i-1,1); } return strRet; } function prefixPrintPage(fname) { var strLen; var i; var strFileName= new String(""); var strRet = new String(""); var strCharCode; var bContinue; strLen=fname.length; fname= fname.toUpperCase(); i=1; bContinue=1; while(i<=strLen && bContinue==1) { strCharCode=fname.charCodeAt(i-1); if ((strCharCode >= 65) && (strCharCode <= 90)) { strFileName+= fname.substr(i-1,1); bContinue=1; } else { bContinue=0; } i=i+1; } strRet=strFileName; return strRet; } //This function will pull the content into new window without template by referring the id of the table function Print_Page() { var fileLocation; var filePath; var tfilename; var tfilename1; var tfilename2; var path; var suffixString = new String(""); var prefixString = new String(""); // This block will remove the dynamic isbn script from the Content part of table. //New Block Start var contentPage=document.getElementById("mcontent"); strInnerHTML=contentPage.innerHTML; strInnerHTML=contentPage.innerHTML; var lngi; var lngj; var lnglen; var lngstartpos; var lngendpos; var findstring1; var findstring2; var strreplacedstring; var strfirstpart; var strsecondpart; var seclength; var totlength; var lngstrlen1; var lngstrlen2; var stemp=new String(""); strfindstring1="'); } else { newWindow.document.writeln(''); newWindow.document.writeln(''); } newWindow.document.writeln(''); newWindow.document.writeln(""); newWindow.document.writeln("
"); newWindow.document.writeln("| '); // newWindow.document.writeln(strInnerHTML); newWindow.document.writeln(contentPage.innerHTML); newWindow.document.writeln(' | |||||||||||||||||||||||