var _URL;
var vote_url;
function PopUp_update(URL_)
{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL_, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=300,left = 490,top = 362');");
}

function F_PopUp(_URL, width, height, left)
{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(_URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width = " + width + ",height = " + height + ",left = " + left + ",top = 50');");
}

var value;
function setval(val)
{
	value=val;
	
}
function popUppoll(vote_url)
{
	day = new Date();
	id = day.getTime();
	eval("page"
	+ id
	+ " = window.open(vote_url, '"
	+ id
	+ "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=400,left = 300,top = 362');");
	
}
function makevoteurl(vote_id,flag)
{
	if(flag > 0)
	vote_url = "http://www.homeopathyandmore.com/menu/fetch/poll.php?column=" + 1000 + "&vote_id=" + vote_id;
	else
	vote_url = "http://www.homeopathyandmore.com/menu/fetch/poll.php?column=c" + value + "&vote_id=" + vote_id;
	popUppoll(vote_url);
}