function setPointer(theRow, thePointerColor) { if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') { return false; } var row_cells_cnt = theRow.cells.length; for (var c = 0; c < row_cells_cnt; c++) { theRow.cells[c].bgColor = thePointerColor; } return true; } function About(){ iLeft = (screen.width/2) - 250; iTop = (screen.height/2) - 150; window.open("index.php?component=common&page=wce.about.php&headfoot=no","Popup","width=300,height=210,top="+iTop+",left="+iLeft+",dependent=yes,titlebar=no,scrollbars=no"); } function popImage(imageURL, caption){ var windowTop = 100; var windowLeft = 100; var defaultWidth = 730; var defaultHeight = 532; var onLoseFocusExit = true; var undefined; var Options = "width=" + defaultWidth + ",height=" + defaultHeight + ",top=" + windowTop + ",left=" + windowLeft + ",resizable" var myScript = "\n" + "\n" + "" + caption + "\\n" + "\n\n" + "\n" + "\""\n" + "\n" + "\n"; var imageWindow = window.open ("","imageWin",Options); imageWindow.document.write (myScript) imageWindow.document.close (); if (window.focus) imageWindow.focus(); return false; } var bikky = document.cookie; function getCookie(name) { var index = bikky.indexOf(name + "="); if (index == -1) return null; index = bikky.indexOf("=", index) + 1; var endstr = bikky.indexOf(";", index); if (endstr == -1) endstr = bikky.length; return unescape(bikky.substring(index, endstr)); } function setCookie(name, value) { if (value != null && value != "") document.cookie=name + "=" + escape(value) + ";"; bikky= document.cookie; } var bikkys = document.cookie; function getexpirydate(nodays){ var UTCstring; Today = new Date(); nomilli=Date.parse(Today); Today.setTime(nomilli+nodays*24*60*60*1000); UTCstring = Today.toUTCString(); return UTCstring; } function getcookietime(cookiename) { var cookiestring=""+document.cookie; var index1=cookiestring.indexOf(cookiename); if (index1==-1 || cookiename=="") return ""; var index2=cookiestring.indexOf(';',index1); if (index2==-1) index2=cookiestring.length; return unescape(cookiestring.substring(index1+cookiename.length+1,index2)); } function setcookietime(name,value,duration){ cookiestring=name+"="+escape(value)+";EXPIRES="+getexpirydate(duration); document.cookie=cookiestring; bikkys= document.cookie; if(!getcookietime(name)){ return false; } else{ return true; } }