//
// check selected quick menu option and locate to selected page
//
	function qMenu(url) {
		if(url != "+")
		{
			document.location.href = url;
		}
	}



//
// open 'send to friend' popup
//
	function p_sendfriend(i,l) {
		var url="/main/sendtofriend.php?i=" + i + "&l=" + l;
		window.open(url,"sendfriend","width=620,height=440,resizable=1,scrollbars=1")
	}



//
// open 'send to friend' popup
//
	function p_subscribe(n) {
		var url="/subscriptions/subscriptionform.php?i=" + n;
		window.open(url,"subscription","width=500,height=240,resizable=1,scrollbars=1")
	}



//
// open general popup
//
	function popup(u,n,p) {
		window.open(u,n,p)
	}



//
//hide link from robots
//
	function decodeMail(str){
		var str2 = '';
		for(var i = 0; i < str.length; i++){
			str2 += String.fromCharCode(str.charCodeAt(i) + 10 );
		}
		document.location.href="mailto:" + str2;
	}
