function jumpto(theurl) {
	window.location.href = theurl;
}

function openpopup() {
	var popurl	= "http://www.eaglepro.net/xpeedometer_eng/xpeedometer.htm";
	winpops		= window.open(popurl, "", "width=520,height=400,");
}

function opensubmitter() {
	var popurl	= "http://www.monster-submit.com/resources/submit/index.php";
	winpops		= window.open(popurl, "", "width=800,height=400,resizable=1,scrollbars=1");
}

function emailpage() {
	mail_str = "mailto:?subject=Email Recommendation: " + document.title;
	mail_str += "&body=I recommend you check out the following page [" + document.title + "] at the ";
	mail_str += "Virtual Solutions website -- " + location.href; 
	location.href = mail_str;
}

function translatepage() {
	var url		= ("http://babel.altavista.com/?url=" + location.href);
	day		= new Date();
	id		= day.getTime();
	eval("file" + id + " = window.open(url, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1');");
}
var newwindow;
function poptastic(url){
	newwindow=window.open(url,'name','height=400,width=200,left=20,top=20,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,status=no,resizable=yes,fullscreen=no');
	if (window.focus) { newwindow.focus(); }
}
function gotoURL(form) {
	var newIndex = form.url.selectedIndex;
	if (newIndex != 0) {
		if (newIndex != 1) { window.open(form.url.options[newIndex].value); }
		else {
			parent.focus();
			parent.location.href	= form.url.options[newIndex].value;
		}
	}
}
function preload() {
	parent.focus();
	parent.location.reload();
}
function pprint() {
	parent.focus();
	parent.print();
}
function pemail() {
	var url			= top.location;
	var title		= top.document.title;
	mail_str		= "mailto:?subject=Email Recommendation: " + title;
	mail_str		+= "&body=I recommend you check out the following page [" + title + "] at the ";
	mail_str		+= "Virtual Solutions website : " + url;
	location.href	= mail_str;
}
function pbookmark() {
	var url			= top.location;
	var title		= top.document.title;
	var regEx		= / : /gi;
	var ntitle		= title.replace(regEx, "-");
	if (window.sidebar) { window.sidebar.addPanel(ntitle, url, ""); }
	else if( document.all ) { window.external.AddFavorite(url, ntitle); }
	else { alert("Your browser doesn't support this"); }
}
function pcomment() {
	var url			= top.location;
	url				= "/scripts/comments/comments.cgi?" + url;
	parent.location.href	= url;
}
function openMenu(url, name) {
	var temp		= "";
	url				= '' + url;
	splitstring		= url.split(" ");
	for(i = 0; i < splitstring.length; i++) {
		if (i > 0) { temp = temp + '_' + splitstring[i]; }
		else { temp = splitstring[i]; }
	}
	url				= temp;
	window.open(url, name, 'scrollbars=1,resizable=no,width=200,height=300,status=0,menubar=0');
}
function openMap(url, name) {
	var temp	= "";
	url			= '' + url;
	splitstring	= url.split(" ");
	for(i = 0; i < splitstring.length; i++) {
		if (i > 0) { temp = temp + '_' + splitstring[i]; }
		else { temp = splitstring[i]; }
	}
	url			= temp;
	window.open(url, name, 'scrollbars=1,resizable=no,width=550,height=450,status=0,menubar=0');
}

