

function popup(cid, toolbars, scrollbars, location, status, menu, resize, width, height) {
	url_target = document.getElementById(cid).href;
	openwindow(url_target, toolbars, scrollbars, location, status, menu, resize, width, height);
}

function openwindow(URL, toolbars1, scrollbars1, location1, status1, menu1, resize1, width1, height1) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(\"" + URL + "\", '" + id + "', 'toolbar=" + toolbars1 + ",scrollbars=" + scrollbars1 + ",location=" + location1 + ",statusbar=" + status1 + ",menubar=" + menu1 + ",resizable=" + resize1 + ",width=" + width1 + ",height=" + height1 + "');");
}

function deepa__submit(id) {
	document.getElementById(id).submit();
}

function popup(page) {
	window.open(page, '', 'scrollbars=yes,directories=no,height=500,width=400,menubar=no,resizable=yes,status=no,titlebar=no,toolbar=no');

	return false;
}

/* PRELOAD THE IMAGES FOR THE HEADER SO THE USER DOESNT HAVE TO WAIT FOR GRAPHICS TO LOAD AFTER THE STRUCTURE & CONTENT */

var images = new Array();

/* HEADER */

for ( i in images ){
 var tmp = new Image();
 tmp.src = images[i];
}

function conf_search() {
	location.href = _obj_vid + 'search/';
}