/* PRELOADING IMAGES */
/* Preloader-Plugin for jQuery is required for this (http://plugins.jquery.com/project/Preload) */
jQuery(function( $ ){	
	var urls = [ 'heliad_keyvisual_web' ];
	$.preload( urls, {
		base:'./static/img/',
		ext:'.jpg',
	});
});
jQuery(function( $ ){	
	var urls = [ 'heliad_logo_229x85', 'nav_about', 'nav_about_hover', 'nav_flyout_about_bg_744',
				 'nav_flyout_investor_bg_744', 'nav_flyout_portfolio_bg_744', 'nav_investor', 'nav_investor_hover',
				 'nav_portfolio', 'nav_portfolio_hover', 'bg_news_mid', 'bg_news_left', 'bg_news_right' ];
	$.preload( urls, {
		base:'./static/img/',
		ext:'.png',
	});
});
/*
if (document.images){
	preload_image = new Image(1300,1220); 
	preload_image.src="./static/img/heliad_keyvisual_web.jpg";	
	preload_image = new Image(229,85); 
	preload_image.src="./static/img/heliad_logo_229x85.png";
	preload_image = new Image(59,23); 
	preload_image.src="./static/img/btn_search_59x23.png";
	preload_image = new Image(744,339); 
	preload_image.src="./static/img/nav_flyout_about_bg_744.png";
	preload_image = new Image(744,339); 
	preload_image.src="./static/img/nav_flyout_investor_bg_744.png";
	preload_image = new Image(744,339); 
	preload_image.src="./static/img/nav_flyout_portfolio_bg_744.png";
	preload_image = new Image(932,20); 
	preload_image.src="./static/img/bg_nav_content_932x20.png";
}

function doPrint(){
    var script = document.createElement('link');
	script.setAttribute('type', 'text/css');
	script.setAttribute('rel', 'stylesheet');
	script.setAttribute('media', 'print');
	script.setAttribute('href', './static/css/main_print.css');
	document.getElementsByTagName("head")[0].appendChild(script);
	
	window.print();
}
*/
