function poll(rand) {
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="180" height="260" id="weeklyPoll" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="movie" value="swfs/weeklyPoll.swf?r=');
   document.write(rand);
   document.write('" />\n');
   document.write('<param name="allowFullScreen" value="false" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="bgcolor" value="#5c5c5c" />\n');
   document.write('<param name="scale" value="exactfit" />\n');
   document.write('<param name="menu" value="false" />\n');
   document.write('<param name="loop" value="false" />\n');
   document.write('<embed src="swfs/weeklyPoll.swf?r=');
   document.write(rand);
   document.write('" quality="high" wmode="transparent" bgcolor="#5c5c5c" width="180" height="260" name="weeklyPoll" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>\n');
   document.write('</object>\n');
   
}
function prototype() {
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="728" height="276" id="homeheader" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="movie" value="swfs/homeheader.swf" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="bgcolor" value="#ffffff" />\n');
   document.write('<param name="scale" value="exactfit" />\n');
   document.write('<param name="menu" value="false" />\n');
   document.write('<param name="loop" value="false" />\n');
   document.write('<embed src="swfs/homeheader.swf" quality="high" wmode="transparent" bgcolor="#ffffff" scale="exactfit" width="728" height="276" name="homeheader" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>\n');
   document.write('</object>\n');
   
}
function wow() {
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="200" height="180" id="logoAnimated" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="movie" value="swfs/logoAnimated.swf" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="bgcolor" value="#000" />\n');
   document.write('<param name="scale" value="exactfit" />\n');
   document.write('<param name="menu" value="false" />\n');
   document.write('<param name="loop" value="false" />\n');
   document.write('<embed src="swfs/logoAnimated.swf" quality="high" wmode="transparent" bgcolor="#000" width="200" height="180" name="logoAnimated" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>\n');
   document.write('</object>\n');
   
}
function vs1(veo) {
   document.write('<object width="660" height="405">\n');
   document.write('<param name="movie" value="http://www.youtube.com/v/');
   document.write(veo);
   document.write('&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01&amp;border=1&amp;autoplay=1" />\n');
   document.write('<param name="allowFullScreen" value="true" />\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<embed src="http://www.youtube.com/v/');
   document.write(veo);
   document.write('&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01&amp;border=1&amp;autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" allowfullscreen="true" width="660" height="405"></embed>\n');
   document.write('</object>\n');
}
function embed(video) {
   document.write('<iframe width="680" height="424" src="http://www.youtube.com/embed/');
   document.write(video);
   document.write('" frameborder="3" style="border:#C0C0C0 3px solid;" allowfullscreen="1"></iframe>');
}

function demo1(veo, swfWidth, swfHeight) {
   document.write('<p align="center">\n');
   document.write('Demo<br />\n');
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="');
   document.write(swfWidth);
   document.write('" height="');
   document.write(swfHeight);
   document.write('" id="');
   document.write(veo);
   document.write('" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="allowFullScreen" value="true" />\n');
   document.write('<param name="movie" value="http://www.developphp.com/Flash_tutorials/tutorial_files/');
   document.write(veo);   
   document.write('.swf" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="bgcolor" value="#ffffff" />\n');
   document.write('<embed src="http://www.developphp.com/Flash_tutorials/tutorial_files/');
   document.write(veo);     
   document.write('.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="');
   document.write(swfWidth);
   document.write('" height="');
   document.write(swfHeight);   
   document.write('" name="');
   document.write(veo);        
   document.write('" align="middle" allowscriptaccess="sameDomain" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /></embed>\n');  
   document.write('</object>\n');
   document.write('</p>\n');
}
function homeSocial() {
   document.write('<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.developphp.com&amp;send=true&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=20&amp;button_count=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="medium" count="true" href="http://www.developphp.com"></g:plusone><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="flashbuilding">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><script src="http://www.stumbleupon.com/hostedbadge.php?s=1" type="text/javascript"></script>');
}
function pageSocial(uri) {
	document.write('<iframe src="http://www.facebook.com/plugins/like.php?href=');
	document.write(uri);
	document.write('&amp;send=true&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=20&amp;button_count=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true"></iframe><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="medium" count="true" href="');
	document.write(uri);
	document.write('"></g:plusone><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="flashbuilding">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><script src="http://www.stumbleupon.com/hostedbadge.php?s=1" type="text/javascript"></script>');
}
