function initAll() {

window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
{console.log();return window.console;}catch(err){return window.console={};}})());

    $(document).ready(function(){ 
		// all plugin here
		$('body').supersleight({shim: 'images/transparent.gif'});
		$(document).ready(function(){ 
       	 $(document).pngFix(); 
   		 }); 
		
		//flash
		$(document).ready(function() {
		   $('#test2').crossSlide({
			  speed: 25,
			  fade: 1
		   }, [
			  { src: 'images/1.jpg', dir: 'up'   },
			  { src: 'images/2.jpg',   dir: 'down' },
			  { src: 'images/3.jpg',  dir: 'up'   },
			  { src: 'images/4.jpg', dir: 'down' }
		   ]);
		});
		//plugin here
		
			
			
			
			
			
	}); 
	
	//not doc
	
	$(function() {
			$('#gallery a').lightBox();
		});
	
} 
