﻿function Disclaimer() {
	alert("Submission is subject to approval before publication.");

}
function popUp(URL, width, height) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=" + width + ",height=" + height + ",left = 412,top = 284');");
}
function alertMe(aType, aText, aHeader) {

	jAlert(aType, aText, aHeader);

}
function redirectpage(weburl) {
	window.location = weburl + "profile/register.aspx";
}
function GetConfirm() {
	alert('<%= GetResourceValue("comment_abuse")%>');
	return true;
}
function Disclaimer() {

	alert('<%= GetResourceValue("comment_submission")%>');

} 
function PopupCenter(pageURL, title, w, h) {
	var left = (screen.width / 2) - (w / 2);
	var top = (screen.height / 2) - (h / 2);
	var targetWin = window.open(pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
}

function stopSliding() {
  $('#contentslider').data('AnythingSlider').startStop(false);
}
