<!--
var pHeight;

function SubmitPoll() {
	pHeight = 120 + (document.Poll.lngAnswerID.length * 20);
	if (document.Poll.lngAnswerID[0].value != "") {
		IstDTPoll = window.open("/asp/poll_result.asp?lngQuestionID=" + document.Poll.lngQuestionID.value + "&lngAnswerID=" + document.Poll.lngAnswerID[0].value,"IstDTPoll","screenx=512,left=512,screeny=122,top=122,width=250,height=" + pHeight + ",scrollbars=no");
		if (IstDTPoll.opener == null) IstDTPoll.opener = window;
		IstDTPoll.opener.name = "ISTDT";
		IstDTPoll.focus();
		document.Poll.reset();
	}
}

function PopUpReview(lngPlayID) {
	var popLeft = 0;
	var popTop = 0;
	if (document.all) {
		popLeft = ((document.body.clientWidth - 380) / 2) + window.screenLeft;
		popTop = (window.screenTop + 220);
	} else {
		popLeft = ((document.body.clientWidth - 380) / 2) + window.screenX;
		popTop = window.screenY + 330;
	}
	IstDTReview = window.open("/turkce/oyunlar/review.asp?lngPlayID=" + lngPlayID, "IstDTReview", "screenx=" + popLeft + ",left=" + popLeft + ",screeny=" + popTop + ",top=" + popTop + ",width=380,height=310,scrollbars=no,status=yes,resizable=no");
	if (IstDTReview.opener == null) IstDTReview.opener = window;
	IstDTReview.opener.name = "ISTDT";
	IstDTReview.focus();
}

function showPage(PageNumber) {	
	document.Reviews.PageNumber.value = PageNumber;
	document.Reviews.submit();
}

function popup(strURL, intWidth, intHeight, blnResizable, blnStatus, blnScrollbars) {
	var popLeft = 0;
	var popTop = 0;
	if (document.all) {
		popLeft = ((document.body.clientWidth - intWidth) / 2) + window.screenLeft;
		popTop = ((document.body.clientHeight - intHeight) / 2) + window.screenTop;
	} else {
		popLeft = ((document.body.clientWidth - intWidth) / 2) + window.screenX;
		popTop = ((document.body.clientWidth - intHeight) / 2) + window.screenY;
	}
	IstDTPOP = window.open(strURL, "IstDTPOP", "screenx=" + popLeft + ",left=" + popLeft + ",screeny=" + popTop + ",top=" + popTop + ",width=" + intWidth + ",height=" + intHeight + ",scrollbars=" + blnScrollbars + ",status=" + blnStatus + ",resizable=" + blnResizable);
	if (IstDTPOP.opener == null) IstDTPOP.opener = window;
	IstDTPOP.opener.name = "ISTDT";
	IstDTPOP.focus();
}
//-->