	/*@cc_on _d=document;eval('var document=_d')@*/
	var ito_url = "http://" + document.domain + "/";
	function RollOver (obj,val) {
		  obj.src = val;
		}
	function loadData(){
		theData   = "";
		theName   = "Csstxt=";
		theCookie = document.cookie+";";
		start = theCookie.indexOf(theName);
		if (start != -1)
		{
			end = theCookie.indexOf(";",start);
			theData = unescape(theCookie.substring(start+theName.length,end));
		}
		cssfile = theData;
		if(cssfile != ""){
		changesytle(cssfile);
		}else{ 
		cssfile = ito_url + "css/txt12.css";
		changesytle(cssfile);
		}
		}

	function changesytle(cssfile) {
	   document.getElementById('mystyle').href = cssfile;
	   if(cssfile == ito_url + "css/txt12.css"){
	   document.getElementById('txtsmall').src  = ito_url + "images/txtsmall-1.jpg"; 
	   document.getElementById('txtlarge').src  = ito_url + "images/txtlarge-2.jpg";
	   }else{ 
	   document.getElementById('txtsmall').src  = ito_url + "images/txtsmall-2.jpg"; 
	   document.getElementById('txtlarge').src  = ito_url + "images/txtlarge-1.jpg";
	   }
	    theName  = "Csstxt";
		theValue = cssfile;
		document.cookie = theName + "="+escape(theValue)+"; path=/;";
	}
	

// FLASHを描画するためのJavaScript
function writeFlash(urlFlash,widthFlash,heightFlash){
strFlash  = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\""+widthFlash+"\" height=\""+heightFlash+"\" >";
strFlash += "<param name=\"movie\" value=\""+urlFlash+"\" />";
strFlash += "<param name=\"quality\" value=\"high\" />";
strFlash += "<embed src=\""+urlFlash+"\" quality=\"high\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\""+widthFlash+"\" height=\""+heightFlash+"\"></embed>";
strFlash += "</object>";
document.write(strFlash);
}

