
/*Flash*/



var alternateContentHOME = '<div class="introHomePageNoFla" > \
                           <h1><span>Let us implement your IDEA (Integrated Data Engineering Application)</span><img src="/images/title-let-us.png" height="54" width="432" alt="Let us implement your IDEA (Integrated Data Engineering Application)" title="Let us implement your IDEA (Integrated Data Engineering Application)" /></h1>\
                           <p>If you need to create a custom data management solution on the web that involves collecting data, integrating data across multiple databases or applications or displaying data in dashboards, <a href="" target="blank" title="talk to us">talk to us</a> at WorldAPP.</p>\
                           <p class="link"><a href="">Learn more about IDEAS </a></p> \
                           <p>Its what we do.</p>\
                           </div>';

if(typeof dontDetectFlash == 'undefined') dontDetectFlash = false;
if(!dontDetectFlash){
	var MM_contentVersion = 8;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		    for (var i = 0; i < words.length; ++i)
		    {
			if (isNaN(parseInt(words[i])))
			continue;
			var MM_PluginVersion = words[i];
		    }
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	}
	else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\> \n');
	}
}


  function getFlash(width, height, file, loop, alternate, classid, link, idcont, alternateContent,aFlashVars){

  aFlashVars = aFlashVars || "";
 // alert(aFlashVars);
  var fleshCont =  document.getElementById(idcont);
 if (MM_FlashCanPlay)
{
   var curProtocol = "http:";
   if (null != top.location.protocol && top.location.protocol=='https:')
{
   curProtocol = "https:";
   }
var oeTags = '<p class="flashCC"><OBJECT CLASSID="' + classid + '"'
+ 'WIDTH="' + width + '" HEIGHT="' + height + '"'
+ 'CODEBASE="' + curProtocol + '//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">'
+ '<PARAM NAME="MOVIE" VALUE="' + file + '">'
+ '<PARAM NAME="PLAY" VALUE="true">'
+ '<PARAM NAME="LOOP" VALUE="' + loop + '">'
+ '<PARAM NAME="QUALITY" VALUE="high">'
+ '<param name="wmode" value="transparent" >'
+ '<param name="FlashVars" value="'+aFlashVars+'" >'
+ '<PARAM NAME="MENU" VALUE="false">'
+ '<EMBED SRC="' + file + '"'
+ 'WIDTH="' + width + '" HEIGHT="' + height + '"'
+ 'PLAY="true"'
+ 'LOOP="' + loop + '"'
+ 'QUALITY="high"'
+ 'MENU="false"'
+ 'wmode="transparent"'
   + 'swLiveConnect="true"'
   + 'allowScriptAccess="sameDomain"'

+ 'TYPE="application/x-shockwave-flash"'
+ 'FlashVars="'+aFlashVars+'"'
+ 'PLUGINSPAGE="' + curProtocol + '//www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
+ '</EMBED>'
+ '</OBJECT></p>';
/*document.write(oeTags);*/
  fleshCont.innerHTML = oeTags ;
} else {
  if (alternateContent==1){ fleshCont.innerHTML =  alternateContentHOME;}
   }
}

/*video*/
function window_open_video(text,w,h)
{
window.open(text,""," resizable=no,width="+w+",height="+h+",scrollbars=no,top=100,left=50");
}



