window.name = "harpua"
function loginCmd(cmd) {
cURL = "%2FDefault%2Easp%3F"
if (cmd == "post") cURL = escape("/show.asp?show=")
PrivoxyWindowOpen("http://www.livephish.com/pb/login.asp?cmd=" + cmd + "&fromPage=" + cURL,"login","scrollbars=auto,resizable=yes,location=yes,status=yes,toolbar=yes,width=500,height=510")
}
function feedback() {
PrivoxyWindowOpen("http://www.livephish.com/feedback/default.asp","feedback","scrollbars=auto,resizable=yes,location=yes,status=yes,toolbar=yes,width=500,height=479")
}
function printLabel(which) {
PrivoxyWindowOpen("http://www.livephish.com/labels/print.asp?show=" + + "&label=" + which,"labels")
}
function doVoid() {
}
function emailSupport() {
window.location="http://www.livephish.com/support/default.asp"
}
function review(cmd,num) {
if (cmd == "post") openURL = "http://www.livephish.com/reviews/post.asp?show="
if (cmd == "browse") openURL = "http://www.livephish.com/reviews/read.asp?show="
if (cmd == "read") openURL = "http://www.livephish.com/reviews/read.asp?show=&id=" + num
document.location = openURL
}
function launchNugster(sId,mID,cName) {
PrivoxyWindowOpen("http://www.livephish.com/nugster/download_message.asp?show=" + sId + "&set=1&mediaID=" + mID + "&codec=" + cName,"nugster","scrollbars=auto,resizable=yes,location=yes,status=yes,toolbar=yes,width=500,height=510")
}
//
function calcExp(inDate) {
var cDate = new Date(inDate)
var agt=navigator.userAgent.toLowerCase();
// Adjust date to local time for IE
if (agt.indexOf("msie") != -1) cDate.setHours(cDate.getHours() - (cDate.getTimezoneOffset()/60))
mm = dDate(cDate.getMonth() + 1)
dd = dDate(cDate.getDate())
yy = cDate.getYear()
yy = yy.toString()
yy = yy.substr(yy.length-2,2)
hh = cDate.getHours()
mn = dDate(cDate.getMinutes())
if ((hh-11) > 0) {
amPM = "PM"
if (hh > 12) hh = hh - 12
} else {
amPM = "AM"
if (hh == 0) hh = 12
}
rDate = mm + "/" + dd.toString() + "/" + yy + " " + hh.toString() + ":" + mn + " " + amPM
return rDate
}
function dDate(inVal) {
if (inVal < 10) {
inVal = "0" + inVal.toString()
} else {
inVal = inVal.toString()
}
return inVal
return newDate
}