function formreset(){ 
document.specsend.reset(); 
} 

chmax=3; 
function check(chobj){
if(!chobj.checked)return;
chname1=chobj.name;    
chint=0;
elementleng=document.forms[1].elements[chname1].length;
for(i=0;i<elementleng;i++){
if(document.forms[1].elements[chname1][i].checked){
chint++;
if(chint>chmax){chobj.checked=false;break;}
}
}
}




var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}



function DC_spec(){

if ( MM_FlashCanPlay ) {
//表スペースの都合上、フォントを11pxにしています。
//テキストエリアに表示できる文字数のOS依存度が高くなるため、swfを分けています。
		if(navigator.appVersion.indexOf("Win") != -1) {
			swffile = "spec.swf";
			swfheight = 1365;
		} else if (navigator.appVersion.indexOf("Mac") != -1) {
			swffile = "spec_mac.swf";
			swfheight = 1365;
		} else {
		    swffile = "spec_mac.swf";
			swfheight = 1365;
		}

		if (location.search.length > 0) {
			var DC_Array = location.search.substr(1).split("&"); 
			DC_Array.sort();
			var DC = new Array( (DC_Array[0].split("=")) , (DC_Array[1].split("=")) , (DC_Array[2].split("=")) );

			document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="555" height="' + swfheight + '">');
			document.write('<param name="movie" value="' + swffile + '?fromhtml1='+ DC[0][1] +'&fromhtml2='+ DC[1][1] +'&fromhtml3='+ DC[2][1] +'">');
			document.write('<param name="quality" value="high"><param name=menu value=false>');
			document.write('<embed src="' + swffile + '?fromhtml1='+ DC[0][1] +'&fromhtml2='+ DC[1][1] +'&fromhtml3='+ DC[2][1] +'" width="555" height="' + swfheight + '" menu=false quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>');
			document.write('</object></td></tr>');

		}else{

			document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="555" height="' + swfheight + '">');
			document.write('<param name="movie" value="' + swffile + '">');
			document.write('<param name="quality" value="high"><param name=menu value=false>');
			document.write('<embed src="' + swffile + '" width="555" height="' + swfheight + '" menu=false quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>');
			document.write('</object></td></tr>');

		}

} else{

document.write('<img src="images/main.jpg" width="555" height="120" alt="製品比較表">');

}

}