function ajaxFunctionSendMyMessage(MyUrl,MyMsg,Mylogin){
	var ajaxRequest;  
	try{
		ajaxRequest = new XMLHttpRequest();
	} catch (e){
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				alert("Your browser broke!");
				return false;
			}
		}
	}
	var queryString = MyUrl + "?touser=" + MyMsg +"&and=2";
	ajaxRequest.open("GET", queryString, true);
	ajaxRequest.send(null); 
}

function WiewAttuch(name,h,w) {
	ViewWindow = window.open('','name','height='+h+',width='+w+'');
	var tmp = ViewWindow.document;
	var fh = h - 50;
	var fw = w - 20;
	tmp.write('<html><body>');
	tmp.write('<iframe frameborder="1" height='+fh+' width='+fw+' marginwidth="-10" marginheight="0"');
	tmp.write('src='+name+'>');
	tmp.write('</iframe>');
	tmp.write('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN class=buttonborder><button value=trykknap type=button onclick=javascript:self.close()>Close</button></SPAN>');
	tmp.write('</body></html>');
	tmp.close();
}
function PopUpRadioStations() {
	Popwindow=window.open('','name','height=650,width=580');
	var tmp = Popwindow.document;
	tmp.write('<html><head><title>Irandk Radio Stations</title>');
	tmp.write('<iframe class=irandk frameborder="1" width="560" height="580" marginwidth="-10" marginheight="0"');
	tmp.write('src="./../../radiostations/output/radiostations_list.php">');
	tmp.write('</iframe>');
	tmp.write('</head><body bgcolor=#66CC99>');
	tmp.write('<p><a href="javascript:self.close()">Close</a>');
	tmp.write('</body></html>');
	tmp.close();
}
function PopUpRadioBlogClub() {
	Popwindow=window.open('http://www.radioblogclub.com/','name','height=800,width=1000');
}


