			function showtalk(response){
				document.getElementById('talktozaerdiv').style.visibility="hidden";
				document.getElementById('daytalkdiv').style.visibility="visible";
				document.getElementById('daytalkdiv').innerHTML=response.value;
				document['picdaytalk'].src='images/rd_arrow.gif';
			}
			function shownews(response){
				var str = response.value;
				var neews = new Array();
				neews = str.split("***");
				
				document.getElementById('picnews').background="../persian/RESOURCE/news/" + neews[0];
				
				//document['picnews'].style.background="../persian/RESOURCE/news/" + neews[0];
				//document['picnews'].background.src="../persian/RESOURCE/news/" + neews[0];
				//-------------set title attribute for picnews------------------------
					var pTag = document.getElementById('picnews');
	                document.getElementById('divnews').innerHTML=neews[1];
				//-----------------------------------------------------------------
				changeColor('ffffc4', "mouse_over1");
				changeColor('ffffc4', "mouse_over2");
				changeColor('ffffc4', "mouse_over3");
				changeColor('ffffc4', "mouse_over4");
				changeColor('ffffc4', "mouse_over5");

				if (neews[2] == 1){
				document['picnewss1'].src='images/blank.gif'
				changeColor('FFE9D2', "mouse_over1");
				}
				if (neews[2] == 2){
				document['picnewss2'].src='images/blank.gif'
				changeColor('FFE9D2', "mouse_over2");
				}
				if (neews[2] == 3){
				document['picnewss3'].src='images/blank.gif'
				changeColor('FFE9D2', "mouse_over3");
				}
				if (neews[2] == 4){
				document['picnewss4'].src='images/blank.gif'
				changeColor('FFE9D2', "mouse_over4");
				}
				if (neews[2] == 5){
				document['picnewss5'].src='images/blank.gif'
				changeColor('FFE9D2', "mouse_over5");
				}
			}

			function showtalktozaer(response){
				document.getElementById('daytalkdiv').style.visibility="hidden";
				document.getElementById('talktozaerdiv').style.visibility="visible";
				document.getElementById('talktozaerdiv').innerHTML=response.value;
				document['pictalktozaer'].src='images/rd_arrow.gif';
			}
			function showmonajat(response){
				document.getElementById('daytalkdiv').style.visibility="hidden";
				document.getElementById('talktozaerdiv').style.visibility="visible";
				document.getElementById('talktozaerdiv').innerHTML=response.value;
				document['picmon'].src='images/rd_arrow.gif';
			}

			function openwinpooling(){
				window.open('http://www.abdulazim.com/networknet/pool-talking.aspx','','width=420,height=350,top=0,toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=no,left=60,screenX=60,top=100,screenY=150');
			}
			function openwinramezan(){
				window.open('http://www.abdulazim.com/persiannet/quranandholyshrine/ramezan.htm','','width=470,height=238,top=0,toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=no,left=60,screenX=60,top=100,screenY=150');
			}

			function openmap(){
		
				window.open('map_navi/default.htm','','width=1200,height=800,top=0,toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=no,left=60,screenX=60,top=100,screenY=150');
			}
			function openregquran(){
		
				window.open('quranandholyshrine/registerquran.aspx','','width=620,height=400,top=0,toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=no,left=60,screenX=60,top=100,screenY=150');
			}
			function showanswergift(){
				  window.open('quranandholyshrine/answergift.aspx','Quran','width=680,height=500,top=0,toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=no,left=60,screenX=60,top=100,screenY=150');
			}
			
			function showtext(){
					document.getElementById('program').innerHTML='<br>&#1605;&#1585;&#1575;&#1587;&#1605; &#1602;&#1585;&#1575;&#1574;&#1578; &#1583;&#1593;&#1575;&#1740; &#1593;&#1585;&#1601;&#1607;<br>&#1583;&#1608;&#1588;&#1606;&#1576;&#1607; &#1605;&#1608;&#1585;&#1582; 18/9/87<br>&#1575;&#1586; &#1587;&#1575;&#1593;&#1578; 14';
			}
			
        function disflash(){
			document.getElementById('flash').style.visibility="hidden";
			}
		function disdiv(){
			document.getElementById('daytalkdiv').style.visibility="hidden";
			document.getElementById('talktozaerdiv').style.visibility="hidden";
			document.getElementById('loadingdiv').style.visibility="hidden";
			document.images('loadingpic').src="images/blank.gif";
		}
		function dislive(){
			document.getElementById('livecam').style.visibility="hidden";
		}
		function disadver(){
			document.getElementById('adver').style.visibility="hidden";
		}
		
	function changeColor(color, ID) {
		document.getElementById(ID).bgColor = "#" + color;
	}
	function menu1(){
		//alert(1);
		document['picnewss1'].src='images/Spinner.gif';
		WebForm2.senews1(shownews);
	}

	function menu2(){
		//alert(2);
		document['picnewss2'].src='images/Spinner.gif';
		WebForm2.senews2(shownews);
	}
function menu3(){
		//alert(3);
		document['picnewss3'].src='images/Spinner.gif';
		WebForm2.senews3(shownews);
	}
function menu4(){
		//alert(4);
		document['picnewss4'].src='images/Spinner.gif';
		WebForm2.senews4(shownews);
	}
function menu5(){
		//alert(5);
		document['picnewss5'].src='images/Spinner.gif';
		WebForm2.senews5(shownews);
	}
