	var disabler;
	var modal;
	
	// 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 = '/_dev/ajax/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();
		//alert(modal.modalId);
		//var theDiv = document.getElementById(modal.modalId);
		modal.disabler.zIndex = modal.style.zIndex - 1;
		modal.disabler.disable();
		theHTML = '<div id="modalContactFormContainer"><div class="top"><div class="bottom"><div class="center"><div id="modalContent"><img src="'+theVid+'" /><div class="buttons" style="margin: 10px;"><button onclick="javascript: closeHomeVid();">Close Window</button></div></div></div></div>';
		modal.modalReturn(theHTML, true, 200, '', '');
	}
	
	function closeHomeVid() {
		modal.hide();
	}
