function dojang_flash(template,item,flash)
 { 
   var strTemp  = eval(template);
   var strItem  = eval(item);
   var strFlash = eval(flash);
   
   if (strTemp == "2")
     { 
       strWidth  = "628";
       strHeight = "149";
     }
   else if (strTemp == "3")
     { 
       strWidth  = "700";
       strHeight = "180";
     }
   //else if (strTemp == "4")
   //  {
   //    strWidth  = "670";
   //    strHeight = "160";
   //  }
   else if (strTemp == "7")
     { 
       strWidth  = "780";
       strHeight = "200";
     }
   else if (strTemp == "22")
     {
       strWidth  = "640";
       strHeight = "152";
     }
   else
     { 
       strWidth  = "760";
       strHeight = "180";
     }

   document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="flash_taek_01" ALIGN=""  WIDTH=' + strWidth + ' HEIGHT=' + strHeight + '>');
   document.write('<PARAM NAME="movie"   VALUE="http://tmg32.windowstest.net/tmg_package/tmg_main_flash/flash_0' + strItem + '_0' + strFlash + '.swf">');
   document.write('<PARAM NAME="quality" VALUE="high">');
   document.write('<PARAM NAME="bgcolor" VALUE="#FFFFFF">');
   document.write('<EMBED src="http://tmg32.windowstest.net/tmg_package/tmg_main_flash/flash_0' + strItem +'_0' + strFlash +'.swf" quality="high" bgcolor="#FFFFFF" WIDTH=' + strWidth + ' HEIGHT=' + strHeight + ' NAME="flash_taek_01" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
   //document.write('<embed src="http://tmg32.windowstest.net/tmg_package/tmg_main_flash/flash_0' + strItem +'_0' + strFlash +'.swf" quality="high" bgcolor="#FFFFFF" WIDTH=' + strWidth + ' HEIGHT=' + strHeight + ' NAME="Flash_taek_01" ALIGN="center" TYPE="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
   document.write('</OBJECT>');
 }

	
