
if (parent.frames.length) 
  top.location.href= document.location; 

var message="Do NOT copy material from this site! \nThis website is \nCopyright &copy;Schoolofphotography.com\nThere are no Public Domain \nimages or text on this site!"; // Message for the alert box
// Don't edit below!
function click(e) {
	if (document.all) {
		if (event.button == 2) {
			alert(message);
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(message);
			return false;
		}
	}
}
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;


function preload(){
	if(!document.images) return;
	var ar = new Array();
	var arguments = preload.arguments;
	for (var i=0;i<arguments.length;i++)
	{
	ar[i] = new Image();
	ar[i].src = arguments[i];
	}
}




	/* include any js files here */
	

 	// performs hidden hide/drop down functions
 	//include('javascript/ddaccordion.js');
 	//include('javascript/jquery-1.2.2.pack.js');    
        // performs Ajax functions for module details  
	//include('myajax.js'); 
	
	
	//this function includes all necessary js files for the application  
function include(file)  
{  
	var script  = document.createElement('script');  
	script.src  = file;  
	script.type = 'text/javascript';  
	script.defer = true;  
	document.getElementsByTagName('head').item(0).appendChild(script);  
}  

// this adds a stylesheet
function includestyle(file){
	var script  = document.createElement('style');  
	script.src  = file;  
	script.type = 'text/css';  
	script.defer = true;  
	document.getElementsByTagName('head').item(0).appendChild(script);  
}
  	



