IE = (document.all && document.all.item && !(navigator.userAgent.indexOf("Opera")>-1)) ? 1: 0;
if (IE) {var flashObject = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.5");}
	else {var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;}


function get_mkr (w_o,h_m,h_m_m) {
	s_w=screen.width;

	switch (true) {

		case (s_w <= 1024)		: {m_width=65;m_height=40;sm_width=85;sm_height=108;break;}
		case (s_w > 1024 && s_w <= 1280): {m_width=81;m_height=50;sm_width=106;sm_height=135;break;}
		case (s_w > 1280 && s_w <= 1400): {m_width=89;m_height=55;sm_width=116;sm_height=148;break;}
		case (s_w > 1400 && s_w <= 1600): {m_width=101;m_height=62;sm_width=132;sm_height=168;break;}
		case (s_w > 1600 && s_w <= 1856): {m_width=118;m_height=72;sm_width=154;sm_height=196;break;}
		case (s_w > 1856 && s_w <= 1920): {m_width=122;m_height=75;sm_width=160;sm_height=203;break;}
		case (s_w > 1920)		: {m_width=130;m_height=80;sm_width=170;sm_height=216;}
	
	}

	str='images/mkr/';
	m_w=m_width;
	m_h=m_height;
	for (i=1; i<=h_m; i++) {
		str1='';
		if (i<=h_m_m) str1='menu';
		if (w_o!='T' && (i>h_m_m/2 && i<=h_m_m)) {m_width=Math.round(m_w*1.5);m_height=Math.round(m_h*1.5);}
		if (i>h_m_m) {m_width=sm_width;m_height=sm_height;}
		if (w_o=='C' && i>=23 ) {m_width=Math.round(m_w*3.2);m_height=Math.round(m_h*3.2);}
		if (w_o=='T' && i==1 ) {m_width=130;m_height=100;}
		div_name='mkr'+w_o+str1+'div'+i;
if (plugin || flashObject) {document.getElementById(div_name).innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+m_width+'" height="'+m_height+'"><param name="movie" value="images/mkr/mkr'+w_o+str1+i+'.swf"><param name="wmode" value="transparent"><embed src="images/mkr/mkr'+w_o+str1+i+'.swf" wmode="transparent" width="'+m_width+'" height="'+m_height+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>';}
else {document.getElementById(div_name).innerHTML='<img src="images/mkr/mkr'+w_o+str1+i+'.gif" width="'+m_width+'">';}

		}

}