var N9_WebLoad = {
  loadcss: function(cssUrl) {
	//<link type="text/css" rel="stylesheet" href="http://host/url.css" media="screen">
  	var html_head = document.getElementsByTagName('head')[0];
	var cssLink = document.createElement('link');
	cssLink.setAttribute("type","text/css");
	cssLink.setAttribute("rel","stylesheet");
	cssLink.setAttribute("href",cssUrl);
	cssLink.setAttribute("media","screen");
	html_head.appendChild(cssLink);
	return cssLink;
  },
  loadjs: function(jsFile,callBack) {
	var html_head = document.getElementsByTagName('head')[0];
	var js = document.createElement('script');
    js.setAttribute('type', 'text/javascript');
    js.setAttribute('src', jsFile);
    html_head.appendChild(js);
    
	if(typeof callBack != 'undefined') {
        if($JQry.browser.msie) {
            js.onreadystatechange = function () {
                if (js.readyState == 'complete' || js.readyState == 'loaded') {
                    callback();
                }
            }
        } else {
            js.onload = callback;
        }
    }
    return js;
  }
}
N9_WebLoad.loadjs("/script/jquery.js");
