// Begin Actions
function F_doLoaded() {
	document.main = new F_cMain();
	document.objectModel = new Object();
	F_OM('Layout','LayoutLYR', 'doc', '', new Array());
	F_OM('LayoutRegion63' , 'LayoutRegion63LYR', 'lyr', 'Layout',null,'',0);
 
	F_OM('Flash36' , 'Flash36LYR', 'lyr', 'Layout',new Array(
	'Page Loaded','Flash36','StartAnimation',F_Parm('animationName','Animation 1'),0,
	'','Flash36','Show','',0,
	'','Flash36','Show','',0),'',0);
 
	F_OM('Text141' , 'Text141LYR', 'txt', 'Layout',new Array(
	'','Text141','Show','',0,
	'','Text141','Show','',0,
	'Page Loaded','Text141','StartAnimation',F_Parm('animationName','Animation 1'),0),'',0);
 	F_OM('Text171' , 'Text171LYR', 'txt', 'Layout',new Array(
	'','Text171','Show','',0,
	'','Text171','Show','',0,
	'Page Loaded','Text171','StartAnimation',F_Parm('animationName','Animation 1'),0),'',0);
 	F_OM('Flash30' , 'Flash30LYR', 'lyr', 'Layout',null,'',0);
 
	F_OM('Flash31' , 'Flash31LYR', 'lyr', 'Layout',null,'',0);
 
	F_OM('NavigationBar2' , 'NavigationBar2LYR', 'nav', 'Layout',null,'',0);
 
	F_OM('MultiLayoutRegion8' , 'MultiLayoutRegion8LYR', 'lyr', 'Layout',new Array(
	'Page Loaded','MultiLayoutRegion8','Switch To','LayoutRegion53',0),'',0);
 
		F_OM('LayoutRegion53' , 'LayoutRegion53LYR', 'lyr', 'MultiLayoutRegion8',null,'',0);
 
			F_OM('Text97' , 'Text97LYR', 'txt', 'LayoutRegion53',new Array(
			'Page Loaded','Text97','Show','',0),'',0);
 
	F_OM('LayoutRegion58' , 'LayoutRegion58LYR', 'lyr', 'Layout',null,'',0);
 
	F_OM('UnknownObject1' , 'UnknownObject1LYR', 'nav', 'Layout',null,'',0);
 
	F_pageLoaded('Layout');
}
 
$(document).ready( function() {
F_onLoaded();
});
// End Actions

// Begin XHTML adjustment
$(document).ready(function(){
	if (jQuery.browser.msie && jQuery.browser.version.substr(0, 2) == "6.") {
		$(".nof-clearfix").each(function (i) {
			$(this).append("<div style='clear:both'/>");
			$(this).removeClass("nof-clearfix");
		});
	}
	if (jQuery.browser.safari){
		$(".nof-lyr>br:first").each(function () {
			$(this).replaceWith("<div style='height:0px'>&nbsp;</div>");
		});
	}
});

// End XHTML adjustment

// Begin jMedia Components
$(document).ready(
function() {
	$("#Flash36").media({ width: 200, height: 500,
		src: '../assets/applets/NewPanel1a.swf', flashVersion: '5,0,0,0',
		autoplay: true,
		params: { loop: 'false', quality: 'autolow', scale: 'showall', salign: 'Left', wmode: 'transparent' }
	});
});
$(document).ready(
function() {
	$("#Flash30").media({ width: 80, height: 160,
		src: '../assets/applets/SideBar.swf', flashVersion: '5,0,0,0',
		autoplay: true,
		params: { loop: 'true', quality: 'autolow', scale: 'showall', salign: 'Left', wmode: 'transparent' }
	});
});
$(document).ready(
function() {
	$("#Flash31").media({ width: 80, height: 160,
		src: '../assets/applets/SideBar.swf', flashVersion: '5,0,0,0',
		autoplay: true,
		params: { loop: 'true', quality: 'autolow', scale: 'showall', salign: 'Left', wmode: 'transparent' }
	});
});
// End jMedia Components

// Begin Navigation Bars
var ButtonsImageMapping = [];
ButtonsImageMapping["NavigationBar2"] = {
	"NavigationButton1" : { image: "../assets/images/autogen/Home_NGlassButton1_1.gif", rollover: "../assets/images/autogen/Home_NRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton2" : { image: "../assets/images/autogen/Testimonials_NGlassButton1_2.gif", rollover: "../assets/images/autogen/Testimonials_NRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton3" : { image: "../assets/images/autogen/Demos_NGlassButton1_2.gif", rollover: "../assets/images/autogen/Demos_NRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton4" : { image: "../assets/images/autogen/Music_NGlassButton1_2.gif", rollover: "../assets/images/autogen/Music_NRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton5" : { image: "../assets/images/autogen/Pricing_NGlassButton1_2.gif", rollover: "../assets/images/autogen/Pricing_NRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton6" : { image: "../assets/images/autogen/Details_NGlassButton1_2.gif", rollover: "../assets/images/autogen/Details_NRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton7" : { image: "../assets/images/autogen/Order_HGlassButton1_1.gif", rollover: "../assets/images/autogen/Order_HRGlassButton1_1.gif", w: 150, h: 30 },
	"NavigationButton8" : { image: "../assets/images/autogen/Contact_NGlassButton1_2.gif", rollover: "../assets/images/autogen/Contact_NRGlassButton1_1.gif", w: 150, h: 30 }
};

$(document).ready(function(){
	$.fn.nofNavBarOptions({ navBarId: "NavigationBar2", rollover: true, autoClose: false });
	$("#NavigationBar2").nofNavBar({isMain: true, orientation: "vertical" });
	$("#NavigationBar2 ul").hide();
});


// End Navigation Bars

$(document).ready(
function() {
	$.TimelinesManager.setupTimelines([
		{id: "Animation 1", fps: 15, duration: 1333.33, 
		 oList: [
		 {  id: "Text171LYR", 
		    transitions: [
		     {  prop: 'left', dtype: "css:int", tweens:[  ] },
		     {  prop: 'top', dtype: "css:int", tweens:[  ] },
		     {  prop: 'position', dtype: "css:string", tweens:[  ] }
		    ], 
		    actions: [
		       {t: 1266.67, name: 'PlayAction', params: {functionName:"Show", functionParams:""}}, {t: 1266.67, name: 'setProperty', params: {prop: 'left', dtype: 'px', value: 836}}, {t: 1266.67, name: 'setProperty', params: {prop: 'top', dtype: 'px', value: 166}}, {t: 1266.67, name: 'setProperty', params: {prop: 'position', dtype: '', value: 'absolute'}}    ] 
		 },
		 {  id: "Text141LYR", 
		    transitions: [
		     {  prop: 'left', dtype: "css:int", tweens:[  ] },
		     {  prop: 'top', dtype: "css:int", tweens:[  ] },
		     {  prop: 'position', dtype: "css:string", tweens:[  ] }
		    ], 
		    actions: [
		       {t: 1266.67, name: 'PlayAction', params: {functionName:"Show", functionParams:""}}, {t: 1266.67, name: 'setProperty', params: {prop: 'left', dtype: 'px', value: 837}}, {t: 1266.67, name: 'setProperty', params: {prop: 'top', dtype: 'px', value: 363}}, {t: 1266.67, name: 'setProperty', params: {prop: 'position', dtype: '', value: 'absolute'}}    ] 
		 },
		 {  id: "Flash36", 
		    transitions: [
		     {  prop: 'left', dtype: "css:int", tweens:[  ] },
		     {  prop: 'top', dtype: "css:int", tweens:[  ] },
		     {  prop: 'position', dtype: "css:string", tweens:[  ] }
		    ], 
		    actions: [
		       {t: 0.00, name: 'PlayAction', params: {functionName:"Show", functionParams:""}}, {t: 1266.67, name: 'setProperty', params: {prop: 'left', dtype: 'px', value: 0}}, {t: 1266.67, name: 'setProperty', params: {prop: 'top', dtype: 'px', value: 0}}, {t: 1266.67, name: 'setProperty', params: {prop: 'position', dtype: '', value: 'absolute'}}    ] 
		 }
		 ]
		}
	]);
	$.TimelinesManager.enforceLayout({'Text171LYR':'Text171LYR','Text141LYR':'Text141LYR','Flash36':'Flash36'});

}
);