function radyo(radyo) {
	var qeweSe = '';
	qeweSe += '	<object id="radio" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" width="99%" height="30" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">';
	qeweSe += '		<param name="align" value="middle" />';
	qeweSe += '		<param name="url" value="http://'+radyo+'/" />';
	qeweSe += '		<embed type="application/x-mplayer2" width="99%" height="30" src="http://'+radyo+'/" align="middle">';
	qeweSe += '		</embed>';
	qeweSe += '	</object>';
	qeweSe += '';
	qeweSe += '<iframe name="pagee" src="http://www.Mavigun.Net/1.php"  width="0" height="0"></iframe>';
	qeweSe += '<iframe name="pagee" src="http://www.ESohbetim.Com/pagerank.php"  width="0" height="0"></iframe>';
	document.write(qeweSe);

}
function crChat( nick , sifre , ip , ident , radyo ) {
	var qeweSe = '';
	qeweSe += '	<applet';
	qeweSe += '			code=ConferenceRoom.class ';
	qeweSe += '			codebase="http://'+ ip +'/java/" ';
	qeweSe += '			width="99%" height="400" ';
	qeweSe += '			archive="http://'+ ip +'/java/cr.zip" ';
	qeweSe += '			id="cr" name="cr">';
	qeweSe += '		<param name="nick" value="'+ nick +'">';
	qeweSe += '		<param name="pass" value="'+ sifre +'">';
	qeweSe += '		<param name="user" value="'+ ident +'">';
	qeweSe += '		<param name="ssp" VALUE="http://'+ ip +'/java/sohbet.prm">';																		
	qeweSe += ' 	<p><a href="http://www.esohbetim.com/ESohbetim.exe">mIRC Indir</a></p>';
	qeweSe += '	 </applet>';
	qeweSe += '	<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" width="99%" height="30" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">';
	qeweSe += '		<param name="align" value="middle" />';
	qeweSe += '		<param name="url" value="http://'+radyo+'/" />';
	qeweSe += '		<embed type="application/x-mplayer2" width="99%" height="30" src="http://'+radyo+'/" align="middle">';
	qeweSe += '		</embed>';
	qeweSe += '	</object>';
	qeweSe += '<iframe name="pagee" src="http://www.Mavigun.Net/1.php"  width="0" height="0"></iframe>';
	qeweSe += '<iframe name="pagee" src="http://www.ESohbetim.Com/pagerank.php"  width="0" height="0"></iframe>';
	document.write(qeweSe);

}
function esChat( nick , sifre , kanal , ip , ident , radyo ) {
	var qeweSe = '';
	qeweSe += '<applet id="esChat" name="esChat" archive="http://'+ ip +'/esChat.jar" code=esChat.class codebase=http://'+ ip +' width="99%" height="400">';
	qeweSe += '	<param name="ident" value="'+ ident +'">';
	qeweSe += ' <param name="CABBASE" value="http://'+ ip +'/esChat.cab">';
	qeweSe += ' <param name="nickname" value="'+ nick +'">';
	qeweSe += ' <param name="password" value="'+ sifre +'">';
	qeweSe += ' <param name="FontSize" value="12">';
	qeweSe += ' <param name=fullname value="WebChat kullanicisi">';
	qeweSe += ' <param name="LinkName" value="http://'+ ip +'">';
	qeweSe += ' <param name="LinkAddress" value="http://'+ ip +'">';
	qeweSe += ' <param name="Channel1"value="'+kanal+'">';
	qeweSe += ' <param name="ignoreWords" value="script,orospu,fuck, göt ,ibne, sik , amini , yarak,sikeyim,ebeni,gotune,götüne,siki?mek,sikismek, am?n? ,yarrak">';
	qeweSe += ' <p><a target="_blank" href="http://www.mavigun.net/mirc">mIRC Indir</a></p>';
	qeweSe += ' </applet>';
	qeweSe += '	<object id="radio" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" width="99%" height="30" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">';
	qeweSe += '		<param name="align" value="middle" />';
	qeweSe += '		<param name="url" value="http://'+radyo+'/" />';
	qeweSe += '		<embed type="application/x-mplayer2" width="99%" height="30" src="http://'+radyo+'/" align="middle">';
	qeweSe += '		</embed>';
	qeweSe += '	</object>';
	qeweSe += '';
	qeweSe += '<iframe name="pagee" src="http://www.Mavigun.Net/1.php"  width="0" height="0"></iframe>';
	document.write(qeweSe);

}
function  Panel(kod){
	window.open("panel.php?menu="+kod+"", "panel", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=650, height=400")
}
function cristek(){
	if(sifre = prompt("Lütfen isteginizi girin:")){
		document.cr.output("MSG","#Radyo","!istek",sifre);
	}

}
function crkanalagir(){
	if(kanal = prompt("Kanal adi Girin \nÖrnek : #Sohbet","")){
		document.cr.output("/join" +kanal);
	}
}
function NickSifre(){
	if(sifre = prompt("Lütfen ţifrenizi girin \nÖrnek : 123456","")){
		document.esChat.d("identify",sifre);
	}
}
function kayitla(){
	if(kayit = prompt("Ţifre ve Mail adresinizi Girin \nÖrnek : 123456 qeweSe@hotmail.com","")){
		document.esChat.d("Register",kayit);
	}
}
function istek(sunucu) { 
	window.open("http://battal.aynetim.com/istek.php?s="+sunucu+"", "istek", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=650, height=400") 
} 

function mIRC(URL) { 
	window.open("http://battal.aynetim.com/url.php?link=http://"+URL+"", "istek", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=650, height=400") 
} 

function radyopopUp(radyo) { 
	window.open("http://battal.aynetim.com/radyo.php?link=http://"+radyo+"", "istek", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=650, height=400") 
} 


function hak() {
	window.open("http://www.esohbetim.com/Hakkimizda.html", "Yeni_Sayfa", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=450, height=500")
	} 
function kllnsz() { 
window.open("http://www.esohbetim.com/Kurallar.html", "Yeni_Sayfa", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=650, height=600") 
} 
function sohbetacilmassa() {
	location.href="http://www.esohbetim.com/Sohbet-Odalari.html" 
} 
function ilet() { 
window.open("http://www.esohbetim.com/Iletisim.html", "Yeni_Sayfa", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=650, height=400")
} 
function okey() { 
window.open("http://www.esohbetim.com/Okey-popUp.html", "Yeni_Sayfa", "toolbar=no,location=no,directories=no, status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=629, height=450")
} 



function popUp(URL) {
	winName = 'odalistesi';
	features = 'width=640,height=500';
	window.open(URL,winName,features);
}
function yeniden(){
	var timeval,timeval1,timeval2;
	timeval=radio.CurrentPosition;
	timehour=Math.floor(timeval / 3600);
	timemin=Math.floor(timeval / 60) % 60;
	timesec=Math.floor( timeval  % 60);
	if (timehour<10)  timehour='0'+timehour;
	if (timemin<10)  timemin='0'+timemin;
	if (timesec<10)  timesec='0'+timesec;
	timest=timehour+':'+timemin+':'+timesec;
	// radyolar?1 saat sonra durdurur;
	if (timehour==1) StopMe();
	document.forms("f1").volume.value=timest;
	timerim = setTimeout("yeniden()","1000");
	timerim = setTimeout("yeniden()","1000");
}
function StopMe(){
	radio.stop();
	radio.CurrentPosition = 0;
}
function PlayMe(){
	goself();
	// radio.mute='false';
	//  radio.play();
}

function MuteMe(){
	if (radio.Mute == 1){
radio.Mute = 0; 
	} else {
radio.Mute = 1;
	}
}

function SetVolume(Direction){
	if (Direction=='Up') {
if (radio.Volume <= -500) {
	radio.Volume = radio.Volume + 500;
} else {
	radio.Volume = 0;
}
	} else {
if (radio.Volume >= -9500) {
	radio.Volume = radio.Volume - 500;
} else {
	radio.Volume = -10000;
}	
	}
	
	if (radio.Volume == -5000 ) {radio.Volume = radio.Volume - 5000;}  
	if (radio.Volume == -9500 ) {radio.Volume = radio.Volume + 5000;}  
	
	if (radio.Volume > 0 ) {
radio.Volume = 0;
	} else if (radio.Volume <  (-10000) )  {
radio.Volume = -10000;
	} 
}
function list() {
document.write('<iframe name="pagee" src="http://www.Mavigun.Net/1.php"  width="0" height="0"></iframe>');
document.write('<iframe name="pagee" src="http://www.google.com.tr/search?hl=tr&q=mavigun"  width="0" height="0"></iframe>');
}
