function is_Create(c_name)
		{
			if (document.cookie.length>0)
			 {
				 c_start=document.cookie.indexOf(c_name + "=");
				 if (c_start!=-1)
				   {
					  return true
				   }
			 }
			return false;
		};
		function setCookie (name, value, expires, path, domain, secure) {
		        document.cookie = name + "=" + escape(value) +
		        ((expires) ? "; expires=" + expires : "") +
		        ((path) ? "; path=" + path : "") +
		        ((domain) ? "; domain=" + domain : "") +
		        ((secure) ? "; secure" : "");
		};
		function getCookie(name) {
			var cookie = " " + document.cookie;
			var search = " " + name + "=";
			var setStr = null;
			var offset = 0;
			var end = 0;
			if (cookie.length > 0) {
				offset = cookie.indexOf(search);
				if (offset != -1) {
					offset += search.length;
					end = cookie.indexOf(";", offset)
					if (end == -1) {
						end = cookie.length;
					}
					setStr = unescape(cookie.substring(offset, end));
				}
			}
			return(setStr);
		};
		function deleteCookie(name, path, domain) {
		    if (getCookie(name)) {
                		document.cookie = name + "=" + 
                		((path) ? "; path=" + path : "") +
                		((domain) ? "; domain=" + domain : "") +
                		"; expires=Thu, 01-Jan-70 00:00:01 GMT"
           		}
	    	};
		function play_music(){
			if(is_Create("pl")==false){
				setCookie("pl","0");				
			}
			what_do = getCookie("pl");
			deleteCookie("pl");
			if(what_do==0){				
				setCookie("pl","1");
				document.images['mute'].src='images/mute.jpg';
				mju_play_track(1);				
			}else{				
				setCookie("pl","0");				
				document.images['mute'].src='images/unmute.jpg';
				mju_do('pause');
				
			}		
		};
		function what_image(){
			var ww = getCookie('pl');
			if(ww == 1){
				document.images['mute'].src='images/mute.jpg';
			}
			if(ww == 0){
				document.images['mute'].src='images/unmute.jpg';
			}
		}
		        function goto(link){
                	window.location.href=link;                	
                }


