function openPlayer(iID,iBandwidth,sType,feedID) {
wWidth = 348; wHeight = 384;
wHPos = (screen.width / 2) - (wWidth / 2);
wVPos = (screen.height / 2) - (wHeight / 2) - 50;
wString = "paysiteclient.php?feedID="+ feedID +"&videoID=" + iID + "&bandwidth=" + iBandwidth + "&videotype=" + sType;
if (document.all) {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,top="+wVPos+",left="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
} else {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,screenY="+wVPos+",screenX="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
}
}
function openTrailerPlayer(iID,iBandwidth,sType,siteName) {
wWidth = 348; wHeight = 384;
wString = "http://paysiteplayer.hardgayfeeds.com/index.php?videoID=" + iID + "&bandwidth=" + iBandwidth + "&videotype=" + sType + "&sitename=" + siteName;
wHPos = (screen.width / 2) - (wWidth / 2);
wVPos = (screen.height / 2) - (wHeight / 2) - 50;
if (document.all) {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,top="+wVPos+",left="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
} else {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,screenY="+wVPos+",screenX="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
}
}
function openTrailerPlayerHD(iID,iBandwidth,sType,siteName) {
wWidth = 680; wHeight = 640;
wString = "http://paysiteplayer.hardgayfeeds.com/index.php?videoID=" + iID + "&bandwidth=" + iBandwidth + "&videotype=" + sType + "&sitename=" + siteName;
wHPos = (screen.width / 2) - (wWidth / 2);
wVPos = (screen.height / 2) - (wHeight / 2) - 50;
if (document.all) {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,top="+wVPos+",left="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
} else {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,screenY="+wVPos+",screenX="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
}
}
function openPlayerHD(iID,iBandwidth,sType,feedID) {
wWidth = 680; wHeight = 640;
wString = "paysiteclient.php?feedID="+ feedID +"&videoID=" + iID + "&bandwidth=" + iBandwidth + "&videotype=" + sType;
wHPos = (screen.width / 2) - (wWidth / 2);
wVPos = (screen.height / 2) - (wHeight / 2) - 50;
if (document.all) {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,top="+wVPos+",left="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
} else {
oWin = self.open(wString,"nvSMP","width="+wWidth+",height="+wHeight+",location=no,screenY="+wVPos+",screenX="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
}
}
function openChat() {
wWidth = 800; wHeight = 531;
wHPos = (screen.width / 2) - (wWidth / 2);
wVPos = (screen.height / 2) - (wHeight / 2) - 50;
if (document.all) {
oWin = self.open("chat/","nvSMP","width="+wWidth+",height="+wHeight+",location=no,top="+wVPos+",left="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
} else {
oWin = self.open("chat/","nvSMP","width="+wWidth+",height="+wHeight+",location=no,screenY="+wVPos+",screenX="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
}
}
function openMemberChat() {
wWidth = 800; wHeight = 515;
wHPos = (screen.width / 2) - (wWidth / 2);
wVPos = (screen.height / 2) - (wHeight / 2) - 50;
if (document.all) {
oWin = self.open("chat/","nvSMP","width="+wWidth+",height="+wHeight+",location=no,top="+wVPos+",left="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
} else {
oWin = self.open("chat/","nvSMP","width="+wWidth+",height="+wHeight+",location=no,screenY="+wVPos+",screenX="+wHPos+",personalbar=no,menubar=no,scrollbars=no,status=no,toolbar=no")
oWin.focus()
}
}