function Netsuite(){
	var lContent = document.getElementById("intContentStuff");
	var nContent = document.getElementById("netsuiteForm");
	if(lContent.style.display == "none"){
		lContent.style.display = "block";
		nContent.style.display = "none";
	}else{
		lContent.style.display = "none";
		nContent.style.display = "block";
	}
}

function headerButtonClick(url){
	if(url == "Netsuite"){
		var lContent = document.getElementById("intContentStuff");
		var nContent = document.getElementById("netsuiteForm");
		if(lContent.style.display == "none"){
			lContent.style.display = "block";
			nContent.style.display = "none";
		}else{
			lContent.style.display = "none";
			nContent.style.display = "block";
		}
		
	}else{
		window.open(url);
	}
}

function LightBoxYcpFlv(flvUrl, ifWidth, ifHeight){
	var anchorTag = document.getElementById("lightBoxInitiator");
	anchorTag.href = '/pages/landingPages/lightbox.aspx' + "?iframe&flvSource=" + flvUrl + "&width=" + ifWidth + "&height=" + ifHeight;
	$("#lightBoxInitiator").fancybox({
		'overlayShow'			: false,
		'zoomSpeedIn'			: 600,
		'zoomSpeedOut'			: 500,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack',
		frameWidth			:	ifWidth,
		frameHeight			:	(ifHeight)
	}).trigger('click');
}

function LightBoxFlv(flvUrl, ifWidth, ifHeight){
	var anchorTag = document.getElementById("lightBoxInitiator");
	anchorTag.href = '/pages/landingPages/lightboxFLP.aspx' + "?iframe&flvSource=" + flvUrl + "&width=" + ifWidth + "&height=" + ifHeight;
	$("#lightBoxInitiator").fancybox({
		'overlayShow'			: false,
		'zoomSpeedIn'			: 600,
		'zoomSpeedOut'			: 500,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack',
		frameWidth			:	ifWidth,
		frameHeight			:	(ifHeight)
	}).trigger('click');
}

function LightBoxSwf(swfUrl, ifWidth, ifHeight){
	var anchorTag = document.getElementById("lightBoxInitiator");
	anchorTag.href = '/pages/landingPages/lightbox.aspx' + "?iframe&swfSource=" + swfUrl + "&width=" + ifWidth + "&height=" + ifHeight;
	$("#lightBoxInitiator").fancybox({
		'overlayShow'			: false,
		'zoomSpeedIn'			: 600,
		'zoomSpeedOut'			: 500,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack',
		frameWidth			:	ifWidth,
		frameHeight			:	(ifHeight)
	}).trigger('click');
}