	function openwin(url, name, specs) {
		var viewer = window.open(url, name, specs);
	}
	
	function addbookmark(url, title) {
	if (document.all)
		window.external.AddFavorite(url, title);
	}
	
	function clearDefault(el) {
  		if (el.defaultValue  ==el.value) {
			el.value = "";
		}
	}

	function restoreDefault(el) {
  		if (el.value == "") {
			el.value = el.defaultValue;
		}
	}	
	
	function validate_email()
	{
		var email
		
		email = document.newsletter.email.value;
		error = 0
		
		if (email == "Your Email / Free Photos & Wallpapers") { alert("Please enter in your email address."); document.newsletter.email.focus(); error = 1; return false; }
		else if (email.indexOf("@") == -1) { alert("Your email address is invalid.\n(e.g name@domainname.com)"); document.newsletter.email.focus(); error = 1; return false; }
				
		if (error != 1) { return true; }
	}
	
	function confirmExit(url)
	{
		var msg="\nThis section of Babe Blvd\ncontains nudity.\n\n" +  
		        "VIEWING OF THIS SECTION BY\n" +
		        "MINORS IS FORBIDDEN BY LAW.\n\n" +
		        "Continue?";

		var agree = confirm(msg)
		if (agree)
		{
			location = url
		}
	}
/*
	var message="Copyright 2008 Babe Blvd (babeblvd.com)\nIf you would like to use our photos, please e-mail us at info@babeblvd.com.  Thank you!";
	
	///////////////////////////////////
	function clickIE4(){
	if (event.button==2){
	alert(message);
	return false;
	}
	}
	
	function clickNS4(e){
	if (document.layers||document.getElementById&&!document.all){
	if (e.which==2||e.which==3){
	alert(message);
	return false;
	}
	}
	}
	
	if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS4;
	}
	else if (document.all&&!document.getElementById){
	document.onmousedown=clickIE4;
	}
	
	document.oncontextmenu=new Function("alert(message);return false")
*/
