		function toCenter(el) {                                                                                                  	
			
			var bl = $("blackOut");
			
			el.style.display = 'block';
			bl.style.display = 'block';

			el.style.position = "absolute";
			
                        if (window.innerWidth) {
				var screenMaxW = window.innerWidth;
				var screenMaxH = window.innerHeight;
			} else if (document.documentElement && document.documentElement.clientWidth) {
				var screenMaxH = document.documentElement.clientHeight;
				var screenMaxW = document.documentElement.clientWidth;
			} else if (document.body) {
				var screenMaxW = document.body.clientWidth;
				var screenMaxH = document.body.clientHeight;
			}
			var x = (screenMaxW - el.clientWidth)/2;
        		var y = (screenMaxH - el.clientHeight)/2;


			if (document.all) {	
				iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body;
                   		y = y + iebody.scrollTop;
				bl.style.height = iebody.scrollWidth;

			} else {
				// el.style.position = "fixed";
				bl.style.position = "fixed";
			}

	                el.style.left = x + 'px';
			_a.effect(el).show();
			el.style.top = "-600px"; /*y + 'px';*/
			
			if (_a.browser.msie) {
				
				/*$(bl).fadeIn("slow");
				$(el).animate({"top":y}, "slow", "swing");*/
			} else {
				/*$(bl).fadeIn("slow", function() {$(el).animate({"top":y}, "slow", "swing")});*/
			}
			/*$(bl).fadeIn("slow", function() {$(el).animate({"top":y}, "slow", "swing")});*/
			_a.effect(el).animate({"top":y}, "slow", "swing");
		}

		function hideLogin() {
			
			_a.effect("helpNotes").animate({"top":-600},"slow", "swing", function() {
				_a.effect("blackOut").hide();
	
				if (_a.browser.msie) {
					
				} else {
					/*$("#blackOut").fadeOut("slow");*/

				}
			});

		}

		function hideLogin2() {
			
			_a.effect("helpNotes2").animate({"top":-600},"slow", "swing", function() {
				_a.effect("blackOut").hide();
	
				if (_a.browser.msie) {
					
				} else {
					/*$("#blackOut").fadeOut("slow");*/

				}
			});

		}





		function sendWindow () {                                                                                                  	
			
			var bl = document.getElementById("blackOut");
			var el = document.getElementById("sendThisPage");
			
			el.style.display = 'block';
			bl.style.display = 'block';

			el.style.position = "absolute";
			
                        if (window.innerWidth) {
				var screenMaxW = window.innerWidth;
				var screenMaxH = window.innerHeight;
			} else if (document.documentElement && document.documentElement.clientWidth) {
				var screenMaxH = document.documentElement.clientHeight;
				var screenMaxW = document.documentElement.clientWidth;
			} else if (document.body) {
				var screenMaxW = document.body.clientWidth;
				var screenMaxH = document.body.clientHeight;
			}
			var x = (screenMaxW - el.clientWidth)/2;
        		var y = (screenMaxH - el.clientHeight)/2;


			if (document.all) {	
				iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body;
                   		y = y + iebody.scrollTop;
				bl.style.height = iebody.scrollWidth;

			} else {
				// el.style.position = "fixed";
				bl.style.position = "fixed";
			}

	                el.style.left = x + 'px';
			$(el).show();
			el.style.top = "-600px"; /*y + 'px';*/
			$("#gallerycontainer").hide();
			if ($.browser.msie) {
				
				/*$(bl).fadeIn("slow");
				$(el).animate({"top":y}, "slow", "swing");*/
			} else {
				/*$(bl).fadeIn("slow", function() {$(el).animate({"top":y}, "slow", "swing")});*/
			}
			/*$(bl).fadeIn("slow", function() {$(el).animate({"top":y}, "slow", "swing")});*/
			$(el).animate({"top":y}, "slow", "swing");
		}

		function hideSend() {
			
			$("#sendThisPage").animate({"top":"-600"},"slow", "swing", function() {
				$("#blackOut").hide();
				$("#gallerycontainer").show();
	
				if ($.browser.msie) {
					
				} else {
					/*$("#blackOut").fadeOut("slow");*/

				}
			});

		}





function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}




		function toCenterD(el) {                                                                                                  	
			
			var bl = $("blackOut");
			
			el.style.display = 'block';
			bl.style.display = 'block';

			el.style.position = "absolute";
			
                        if (window.innerWidth) {
				var screenMaxW = window.innerWidth;
				var screenMaxH = window.innerHeight;
			} else if (document.documentElement && document.documentElement.clientWidth) {
				var screenMaxH = document.documentElement.clientHeight;
				var screenMaxW = document.documentElement.clientWidth;
			} else if (document.body) {
				var screenMaxW = document.body.clientWidth;
				var screenMaxH = document.body.clientHeight;
			}
			var x = (screenMaxW - el.clientWidth)/2;
        		var y = (screenMaxH - el.clientHeight)/2;


			if (document.all) {	
				iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body;
                   		y = y + iebody.scrollTop;
				bl.style.height = iebody.scrollWidth;

			} else {
				// el.style.position = "fixed";
				bl.style.position = "fixed";
			}

	                el.style.left = x + 'px';
			_a.effect(el).show();
			el.style.top = "-600px"; /*y + 'px';*/
			
			if (_a.browser.msie) {
				
				/*$(bl).fadeIn("slow");
				$(el).animate({"top":y}, "slow", "swing");*/
			} else {
				/*$(bl).fadeIn("slow", function() {$(el).animate({"top":y}, "slow", "swing")});*/
			}
			/*$(bl).fadeIn("slow", function() {$(el).animate({"top":y}, "slow", "swing")});*/
			_a.effect(el).animate({"top":y}, "slow", "swing");
		}

