function openPopup(passedUrl, passedWidth, passedHeight) 
{
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(passedUrl,'" + id + "','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + passedWidth + ',height=' + passedHeight);");
}

function open_cars_com(passed_url, passed_width, passed_height) 
{
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(passed_url,'" + id + "','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + passed_width + ',height=' + passed_height);");
}

function openGoDaddyPopup(passedUrl) 
{
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(passedUrl,'" + id + "','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=620,height=350');");
}

function clickButton(event, button_id) 
{ 
    if (event.which)
    	code = event.which;
   	else
   		code = event.keyCode;
   	
   	if(code == 13) 
   	{ 
    	var obj_button = document.getElementById(button_id);
    	if (obj_button != null)
    	{
	    	if(typeof obj_button == 'object') 
	    	{
				obj_button.click(); 
				return false; 
	      	}
	   } 
    } 
}