/*
#####################################################
# 
# Careers4U Website
# JavaScript setup routines
#
# Hand-crafted by Phenotype (phenotype.net)
#
#####################################################
*/

	////////////////////////////////////////////////////////////////////
	//	Initialise setup routines
	////////////////////////////////////////////////////////////////////
	
	// Called when DOM is ready
	$(document).ready(domSetup);
	
	// Called when entire page is loaded
	$(window).load(pageSetup);
	
	// Called when DOM is unloaded
	$(window).unload(domUnload);
	
	////////////////////////////////////////////////////////////////////
	//	Define setup routines
	////////////////////////////////////////////////////////////////////
	
	/* 
	domSetup()
	
	All JavaScript requiring initialisation on DOM LOAD should be called
	from this routine.
	-----------------------------------------------------------------------
	*/
	
	function domSetup() {
		
		////////////////////////////////////////////////////////////////////
		//	Navigation
		////////////////////////////////////////////////////////////////////
			
			
			
		////////////////////////////////////////////////////////////////////
		//	/Navigation
		////////////////////////////////////////////////////////////////////   
		
		
		////////////////////////////////////////////////////////////////////
		//Cufon
		////////////////////////////////////////////////////////////////////

			/* Replace non-Arabic text with preferred font */
		   
		
		/* if ( $('body').attr('class') != 'ar' ) {
				Cufon.replace('#navigation ul a:not(#navigation ul li#button-home a)', {
					fontFamily: 'Century Gothic',
					hover: true,
					textShadow: '#000 1px 1px'
				});

				Cufon.replace('h1,h2, h3, )', {
					fontFamily: 'Century Gothic',
					hover: true,
				   
				});

				

			} else {
				Cufon.replace('h1, h2, #content #work h3', {
					fontFamily: 'Century Gothic',
					hover: true
				});
			}    */                                      

		   	////////////////////////////////////////////////////////////////////
			//	/Cufon
			////////////////////////////////////////////////////////////////////
		
		
		
	} // End domSetup()
	
	/* 
	pageSetup()
	
	All JavaScript requiring initialisation on PAGE LOAD should be called
	from this routine (all images and elements should be loaded and ready to
	manipulate by this point)
	-----------------------------------------------------------------------
	*/
	
	function pageSetup() {
		
		////////////////////////////////////////////////////////////////////
		//	IE6 PNG fix
		////////////////////////////////////////////////////////////////////

		   
		
		////////////////////////////////////////////////////////////////////
		//	IE6 PNG fix
		////////////////////////////////////////////////////////////////////
	
	} // End pageSetup()
	
	/* 
	domUnload()
	
	Called when page/DOM is unloaded
	-----------------------------------------------------------------------
	*/
	
	function domUnload() {

	} // End domUnload()
