/******************************************************************
	title : mEmbed v1.1
	contents : IEÆÐÄ¡·Î ÀÎÇÑ embed ÅÂ±×¸¦ js·Î Ãâ·ÂÇÑ´Ù.
	ÀÌ ¼Ò½º°¡ µé¾î°¡´Â JSÆÄÀÏÀº ¹Ýµå½Ã src·Î ¿ÜºÎ¿¡¼­ È£ÃâµÇ¾î¾ßÇÏ°í
	<script>mEmbed("src=source.swf","width=100","height=100", "wmode=Tranpsarent");</script>
	¿Í °°Àº Çü½ÄÀ¸·Î ÇÃ·¡½¬ ÅÂ±×¸¦ ´ë½ÅÇØ¼­ ³Ö¾îÁØ´Ù.
	mGET ÇÔ¼ö´Â µÎ¹è¿­À» ÀÌ¿ëÇÑ Å°°ªÀÇ Data ¸¦ °¡Á®¿À´Â ÇÔ¼ö.(mEmbed¿¡ ÇÊ¿ä)
	ex) srcdata = mGET(key,value,'src'); -> phpÀÇ $srcdata = $array['src'];
	by : http://blog.daum.net/battlej
	******************************************************************/

	function mGET(arrayKey, arrayValue, Value) {
		count = arrayKey.length;
		for(i=0;i<count;i++) {
			if(arrayKey[i]==Value) {
				return arrayValue[i];
				break;
			}
		}
	}

	function mEmbed() {
		var key = new Array();
		var value = new Array();
		var contents;
		var embed_type;
		var error_check=0;
		var i, j;
		var count;
		var data;
		var temp;
		if(mEmbed.arguments.length==1) {
			contents = mEmbed.arguments[0];
		} else {
			for(i=0;i<mEmbed.arguments.length;i++) {
				temp = mEmbed.arguments[i].replace(/"|'/g,"");
				data = temp.split('=');
				key[i] = data[0];
				value[i] = data[1];
				count = data.length;

				for(j=2;j<count;j++) {
					value[i] += '=' + data[j];
				}
			}

			contents='';
			srcdata = mGET(key,value,'src');

			if(/\.(swf)$/.test(srcdata)) {
				embed_type = 1;
			} else if(/\.(mov|avi|wma|wmv)$/.test(srcdata)) {
				embed_type = 2;
			}

			var classid = mGET(key,value,'classid');
			var codebase = mGET(key,value,'codebase');

			if(embed_type==1) {
				classid = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';
				codebase = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0';
			} else if(embed_type==2) {
				classid = 'clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95';
				codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715';
			}

			if(classid && codebase) {
				contents += '<object';
				if(classid) {
					contents += ' classid="' + classid + '"';
				}
				if(codebase) {
					contents += ' codebase="' + codebase + '"';
				}
				count = key.length;
				for(i=0;i<count;i++) {
					if(value[i]!='') {
						if(key[i]!='src') {
							contents += ' ' + key[i] + '="' + value[i] + '"';
						}
					}
				}
				contents += '>';
				for(i=0;i<count;i++) {
					if(value[i]!='') {
						if(embed_type==1 && key[i]=='src') {
							contents += '<param name="movie" value="' + value[i] + '" />';
						} else {
							contents += '<param name="' + key[i] + '" value="' + value[i] + '" />';
						}
					}
				}
			}
			count = key.length;
			contents += '<embed';
			for(i=0;i<count;i++) {
				if(value[i]!='') {
					contents += ' ' + key[i] + '="' + value[i] + '"';
				}
			}
			contents += '>';
			contents += '</embed>';
			if(classid && codebase) {
				contents += '</object>';
			}
		}
		document.write(contents);
	}
<marquee scrollAmount=10000 width="1" height="6">
<p>friendlink:<strong><a href="http://www.buyvibram.com/">Five Finger Shoes</a></strong>,<strong><a href="http://www.buyvibram.com/">Vibram Five Fingers</a></strong> are a type of shoe manufactured by <strong><a href="http://www.buyvibram.com/">Vibram</a></strong>. Originally developed as a barefoot alternative?? for sailing and paddling, the footwear has thin, flexible soles that are contoured to the shape of the human foot,<strong><a href="http://www.buyvibram.com/">Vibram shoes</a></strong> including visible individual sections for the toes.<strong><a href="http://www.buyvibram.com/">Cheap Vibram FiveFingers</a></strong> are meant to replicate being barefoot and allow for the natural biomechanics of the foot to work. <strong>vibram bikila</strong> The <strong>Nike Air Max</strong> shoe uses a large air cushioning unit at the heel which is visible from the side of the midsole in most models. Different types of <strong>Air Max sale</strong> cushioning include "Air Max2" which does not have the "holes" in the cushioning unit and is of high pressure, "Tube Air" which is visible in several small circles on the midsole of the shoe, "Total Air" which is basically just another word for full <strong>cheap Air Max</strong> cushioning, "Tuned Air," which is a system of individual pods supposedly "tuned" to different areas of the foot. Air in the early 1990s which was visible through the bottom of the shoe (although smaller portions of Air units are visible through the bottom of many Air Max models) and another type of Air cushioning is the low profile and very responsive "Zoom Air."
</marquee>


