
		if ( typeof buzz_ooyala_show_hide != 'function') {
			buzz_ooyala_show_hide = function(unique_id) {
				if (document.getElementById(unique_id).style.display == 'none') {
					document.getElementById(unique_id).style.display='block';
				} else {
					document.getElementById(unique_id).style.display='none';
				}
			}
			buzz_ooyala_copy_embed_code = function(unique_id) {
				var txt = document.getElementById('textarea_'+unique_id).value;
				if (window.clipboardData) {
				  window.clipboardData.clearData();
				  window.clipboardData.setData("Text", txt);
				} else if(navigator.userAgent.indexOf("Opera") != -1) {
					window.location = txt;
				} else if (window.netscape) {
					try {	netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); }
					catch (e) { buzz_ooyala_show_hide(unique_id); return false; }
					var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);
					if (!clip) { buzz_ooyala_show_hide(unique_id); return; }
					var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);
					if (!trans) { buzz_ooyala_show_hide(unique_id); return; }
					trans.addDataFlavor('text/unicode');
					var str = new Object();
					var len = new Object();
					var str = Components.classes['@mozilla.org/supports-string;1'].createInstance(Components.interfaces.nsISupportsString);
					var copytext = txt;
					str.data = copytext;
					trans.setTransferData("text/unicode",str,copytext.length*2);
					var clipid = Components.interfaces.nsIClipboard;
					if (!clip) { buzz_ooyala_show_hide(unique_id); return false; }
					clip.setData(trans,null,clipid.kGlobalClipboard);
				}
				buzz_ooyala_show_hide(unique_id);
			}
		}
		document.write('<div style=\"width:510px;clear:both; border:1px solid #333;background:#000000 url(\'http://cdn.buzznet.com/assets/pages/p2/ooyala/ok_bg.png\') 0 0 repeat-x;\">');
document.write('		<a style=\"cursor:pointer;padding:0px 10px;color:#999999;float:right;font-size:12px;line-height:40px;\" onclick=\"buzz_ooyala_show_hide(\'eea178f2246a595ae2d8e0ebf39e35f8\');\">Embed</a>');
document.write('		<a href=\"http://www.okmagazine.com\" style=\"display: block; border-bottom: 1px solid #454545; margin: 0px;\">');
document.write('		<img src=\"http://cdn.buzznet.com/assets/pages/p2/ooyala/ok_header.png\" style=\"border: none;margin: 0px;\" /></a>');
document.write('		<div style=\"text-align: center;color: #ffffff; padding: 10px;border-bottom: 1px solid #454545; background-color: #303030;display: none;\" id=\"eea178f2246a595ae2d8e0ebf39e35f8\">');
document.write('		Copy and paste to embed this video on your own site');
document.write('		<textarea style=\"border-left: 0px; border-right: 0px;height:30px;padding:5px; margin:10px 0px;font-size:11px;line-height: 15px;width:90%;\" onclick=\"this.select();\" id=\"textarea_eea178f2246a595ae2d8e0ebf39e35f8\">&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.okmagazine.com/wp-content/plugins/buzz-ooyala-player/embed.php?embed=Y3cDJ5Ona1Ehls4txDom969SN1dGEdTE&amp;video_w=510&amp;video_h=383&amp;autoplay=0&quot;&gt;&lt;/script&gt;</textarea>');
document.write('		<button onclick=\"buzz_ooyala_copy_embed_code(\'eea178f2246a595ae2d8e0ebf39e35f8\'); return false;\" style=\"background:#14B3B3 url(\'http://okmagazine.com/wp-content/themes/okmagazine/images/bg_buttons.png\') repeat-x 0 0; border:1px solid #14B3B3; font-size: 10px; color: #ffffff; padding: 4px 1em;\">OK</button></div><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"ooyalaPlayer_eea178f2246a595ae2d8e0ebf39e35f8\" width=\"510\" height=\"383\" codebase=\"http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab\">');
document.write('		<param name=\"movie\" value=\" http://www.ooyala.com/player.swf?version=2\" />');
document.write('		<param name=\"quality\" value=\"high\" />');
document.write('		<param name=\"wmode\" value=\"transparent\" />');
document.write('		<param name=\"allowScriptAccess\" value=\"always\" />');
document.write('		<param name=\"allowFullScreen\" value=\"true\" />');
document.write('		<param name=\"flashvars\" value=\"autoplay=0&hide=embed&embedCode=Y3cDJ5Ona1Ehls4txDom969SN1dGEdTE\" />');
document.write('		<embed src=\"http://www.ooyala.com/player.swf?version=2\" wmode=\"transparent\" width=\"510\" height=\"383\" name=\"ooyalaPlayer\" align=\"middle\" play=\"true\" loop=\"false\" quality=\"high\" allowscriptaccess=\"always\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" flashvars=\"autoplay=0&hide=embed&embedCode=Y3cDJ5Ona1Ehls4txDom969SN1dGEdTE\" pluginspage=\"http://www.adobe.com/go/getflashplayer\"></embed></object></div>');
