function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i dest_y) { //Keep on calling this function every 1000 microsecond // till the target location is reached window.setTimeout('moveUp()',10); } } function TVon(){ document.getElementById("tv_on").style.display = 'none'; document.getElementById("tv_off").style.display = 'block'; y = -245; //Starting Location - top dest_y = 0; //Ending Location - top moveDown(); createTV(); } function moveDown(){ //Keep on moving the image till the target is achieved if(y==0) return; y = y + interval; if(y>dest_y) y=0; //Move the image to the new location document.getElementById("tv").style.top = y+'px'; if (y < 0) { //Keep on calling this function every 1000 microsecond // till the target location is reached window.setTimeout('moveDown()',10); } } function SoundOn(){ document.getElementById("audio_on").style.display = 'none'; document.getElementById("audio_off").style.display = 'block'; createAudio(); } function SoundOff(){ document.getElementById("audio_on").style.display = 'block'; document.getElementById("audio_off").style.display = 'none'; destroyAudio(); } function VOL_minus(){ // changeStyle('Blue'); } function VOL_plus(){ // changeStyle('Purple'); } function CH_minus(){ // changeStyle('Yellow'); } function CH_plus(){ // changeStyle('Orange'); } function _body_on_load(){ // var so = new SWFObject('sound.swf','sound','330','20','7','020100','high'); // so.addParam('allowfullscreen','false'); // so.addVariable('file','playlist.xml'); // so.addVariable('autostart','true'); // so.write('flashsound'); // AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','330','height','20','align','middle','src','sound','quality','high','bgcolor','#020100','name','sound','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','sound' ); } function addClass(className){ if (!this.hasClass(className)) this.className = (this.className + ' ' + className).clean(); return this; } function removeClass(className){ this.className = this.className.replace(new RegExp('(^|\\s)' + className + '(?:\\s|$)'), '$1').clean(); return this; } function toggleClass(className){ return this.hasClass(className) ? this.removeClass(className) : this.addClass(className); }