function onLoadEVP()
{
document.EVP.SetProperty('Domain','voice.sina.com');
document.EVP.SetProperty( "hosturl", "http://avchat.sina.com/audio/chat/2/frame.cgi/cgi-bin/chat/talk?g=audio&f=2" );

document.EVP.Login();

}

//----------------------------
function leave() {
window.open("ad.html","","height=200,width=480,left=200,top=320");
}


//-----------------------------

function help()
{
popup = window.open ("help.htm","","height=400,width=600,left=100,top=0,scrollbars=yes,resizable=yes");
}


//---------------------------------

function cartoon()
{
popup = window.open ("cartoon.htm","","height=600,width=700,left=75,top=0,scrollbars=yes,resizable=yes");
}
//====================================
function Mega(){
popup = window.open("http://www.excite.com/communities/chat/voicechat/client/F_body_content?roomname=Mega","","height=685,width=400,left=410,top=0,scrollbars=yes");
popup = window.open("stroom1.htm","","height=600,width=400,left=0,top=0,scrollbars=yes");
}


//============================


function sms(name) {
	         smspopup = window.open(name,'',"width=500,height=530,top=0,left=150");
//            
	}   


//==========================

function pop(name) {
	         popup = window.open(name,'',"width=500,height=400,top=0,left=150");
//            
	}   



//=============================================================================



function setChannel(passedvalue) {
//var win = window.open(../radio/drdo.htm,'',"width=500,height=400,top=0,left=150")

if (passedvalue == "3")
   {
        window.alert("Please Select a Channel first.. !!")
        return false
   }

if (passedvalue != "3") {
    var totalvalue = passedvalue;
    document.selectform.T1.Value = "1"
  }

//document.write('<html></html>')
//document.write('<html><head><meta http-equiv="Content-Language" content="en-us"><meta name="GENERATOR" content="Microsoft FrontPage 5.0"><script language="JavaScript" src="../jvs/trk.js"></script><meta name="ProgId" content="FrontPage.Editor.Document"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>LionVoice.com &quot;Live Radio 24/24 &quot;.......</title><base target="main"><meta name="Microsoft Theme" content="trk5 011"></head>')
document.write('<body bgcolor=#6699cc>')
document.write('<div align="center">')
document.write('<center>')
document.write('<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: win.collapse" width="100%" id="AutoNumber1" height="29">')
document.write('<tr>')
document.write('<td width="100%" align="center" height="20"><font size="4" face="Comic Sans MS">Select a Channel and then Click Listen to Connect to Channel..</font></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td width="100%" align="center" height="1">')
document.write('<form name="selectform">')
document.write('<p align="center">')
document.write('<select name="dropdownbox" size=1 style="width: 350; color: #000080; vertical-align: middle; text-align: center">')
document.write('<option value="3" selected>Select a Chanell</option>')
document.write('<option value="http://yp.shoutcast.com/sbin/shoutcast-playlist.pls?rn=91894&amp;amp;addr=66.28.48.200:16964&amp;amp;file=filename.pls">Radio Aghany</option>')
document.write('<option value="http://66.28.48.74:6206">Radio Rama</option>')
document.write('</select>')
document.write('<input type="hidden" name="T1" Value="1" size="20">')
document.write('<input type="button" value="Listen" name="Listen" tabindex="2" style="text-align: center" onClick="setChannel(this.form.dropdownbox.options[this.form.dropdownbox.selectedIndex].value);"></p>')
document.write('</form>')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('</center>')
document.write('</div>')
document.write('<table cellspacing="0" width="354" align="center">')
document.write('<tr> <td align="center" width="350"><center>')
document.write('<p>')
document.write('<object id="mp3stream" classid="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" height="60" width="300">')
document.write('<param name="_ExtentX" value="7938">')
document.write('<param name="_ExtentY" value="1588">')
document.write('<param name="AUTOSTART" value="0">')
document.write('<param name="SHUFFLE" value="0">')
document.write('<param name="PREFETCH" value="0">')
document.write('<param name="NOLABELS" value="0">')
document.write('<param name="WINDOWNAME" value="mp3stream">')
document.write('<param name="SRC" value="http://yp.shoutcast.com/sbin/shoutcast-playlist.pls?rn=91894&addr=66.28.48.200:16964&file=filename" ref>')
document.write('<param name="CONTROLS" value="ControlPanel,StatusBar">')
document.write('<param name="CONSOLE" value="Clip2">')
document.write('<param name="LOOP" value="0">')
document.write('<param name="NUMLOOP" value="0">')
document.write('<param name="CENTER" value="0">')
document.write('<param name="MAINTAINASPECT" value="0">')
document.write('<param name="BACKGROUNDCOLOR" value="#000000"><embed type="audio/x-mpeg" console="Clip2" controls="ControlPanel,StatusBar" height="60" width="300" autostart="-1" _extentx="6535" _extenty="1588" shuffle="0" prefetch="0" nolabels="0" windowname="mp3stream" src="http://yp.shoutcast.com/sbin/shoutcast-playlist.pls?rn=91894&amp;addr=64.152.82.200:16964&amp;file=filename.pls" loop="0" numloop="0" center="0" maintainaspect="0" backgroundcolor="#000000">')
document.write('</object>')
document.write('<br>')
document.write('<b>Current Channel :</b>&nbsp; <font color="#FFFFCC">ddd</font></p>')
document.write('</center>')
document.write('</td>')
document.write('</tr>')
document.write('</table>')
document.write('<p><hr></p>')
document.write('</body>')
//document.write('</html>')

 return true
}            


function setChannel2(passedvalue) {
var passedvalue2 = document.selectform.T1.Value

if (passedvalue2 == "0")
   {
        //window.alert("Please Select a Channel first.. !!")
        return false
   }

if (passedvalue2 == "1") {
    var totalvalue = passedvalue;
  }

 document.write('<param name="SRC" value="'+totalvalue+'">')
 
 return true
}            