	var disabler;
	var modal = 'test';
	
	// attach a listener to the load event of the body
	// to instntiate the disabler and modal on window load
	if (window.addEventListener) {
		// most browsers
		window.addEventListener('load', instantaiteDisabler, false);
	} else if (window.attachEvent) {
		// windows/IE
		window.attachEvent('onload', instantaiteDisabler);
	}
	
	// create a funtion that will instantiate the class
	function instantaiteDisabler() {
		disabler = new bluntWindowDisabler();
		//alert(modal);
		modal = new bluntModal();
		//alert(modal);
	}
	
	function showVid(theVid) {
		//alert(modal);
		modal.ajaxParameters = 'vid='+theVid;
		modal.disableBrowser = true;
		modal.disabler.opacity = 50;
		modal.url = 'js/schowvid.php';
		modal.ajaxMethod = 'post';
		modal.showImage = false;
		modal.zIndex = 1500;
		modal.modalWidth = 'auto';
		modal.modalHeight = 'auto';
		modal.limitModalToWindow = false;
		modal.style.padding = '0';
		modal.style.borderColor = '';
		modal.style.borderStyle = 'solid';
		modal.style.borderWidth = '0';
		modal.style.backgroundColor = '';
		modal.show();
	}
	
	function closeHomeVid() {
		modal.hide();
	}
