if ( g_plugin ) {
	var check = readCookie(cookiename);
	var insert;
	if (check == "viewed") {
		insert = '&hasCookie=1';
	} else {
		createCookie(cookiename,"viewed",100);
		insert = '&hasCookie=0';
	}
	
	/* 	BEGIN ////
		
		THIS WAS ADDED TO FIX THE IE ISSUE FOR ACTIVE X CONTROLS
		@author - Adobe
		@Date Added - 02/22/2007
		
		NOTE: Code was created by Adobe for activeX control fix in IE
	*/	
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
	} else {
		// embed the flash movie
		
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
			'width', '750',
			'height', '340',
			'src', 'http://int1.fp.sandpiper.net/avaya/media/demo/campus/demo',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id', 'Demo',
			'bgcolor', '#ffffff',
			'name', 'Demo',
			'menu', 'false',
			'flashvars', 'xmlpath=xml/demo_data.xml&trans_xml=xml/translation.xml&checked=true',
			'swliveconnect','true',
			'allowScriptAccess','always',
			'movie', 'http://int1.fp.sandpiper.net/avaya/media/demo/campus/demo',
			'salign', ''
			); //end AC code
	}
	/* END */	
	
} else {
	document.write("<a href=\"http://www.macromedia.com/go/getflashplayer\" target=\"_blank\"><img src=\"i/no_flash.jpg\" width=\"747\" height=\"256\" alt=\"AVAYA Teleworker Solution - This site requires version 6 or higher of the Macromedia Flash Player. To download it for free from the Macromedia website, click here.\" class=\"greyborder\"/></a>");
}




