﻿

/*------------------------------------------------------------------------------------------------*/
/* Global Define ---------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------*/

//Flash


function _writeFlashTrans(url,width,height,etc){	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="'+ width +'" height="'+ height +'">');
	document.write('<param name="movie" value="'+ url +'">');
	document.write('<param name="quality" value="high">');
	document.write('<param name=wmode value=transparent>');
	document.write('<embed src="'+ url +'"" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+ height +'"></embed>');
	document.write('</object>');
}

function changecss(obj){
	var divs = document.getElementById(obj);
	//$('#'+obj).toggle(200);
	//title.next = divs;
	var curStyle = divs.style.display;
    var newStyle;
	if (curStyle == 'none') {
        newStyle = 'block';
        }
    else {
       newStyle = 'none';
      };
       divs.style.display = newStyle;
	}
