function importCSSFile( cssPath, id ){
	var $ = document; // shortcut
	var cssId = id;  // you could encode the css path itself to generate id..
	if (!$.getElementById(cssId)){
		var head  = $.getElementsByTagName('head')[0];
		var link  = $.createElement('link');
		link.id   = cssId;
		link.rel  = 'stylesheet';
		link.type = 'text/css';
		link.href = cssPath;
		link.media = 'all';
		head.appendChild(link);
	}
}


function checkLoad()
{
     if (window.onLoad)
     {
          return true;
     } else {
          setTimeout('checkLoad();', 1000);
     }
}

function tag_toggler(id){

	x = document.getElementById(id);

	if( x.style.display == 'block'){
		x.style.display = 'none';
	}else x.style.display = 'block';

}
