function include(destination){
	if(destination.substr(destination.length-3,3)==".js"){
		var e=window.document.createElement('script');e.setAttribute('src',destination);e.setAttribute("type","text/javascript");window.document.body.appendChild(e);
	}else if(destination.substr(destination.length-4,4)==".css"){
		var e=window.document.createElement('link');e.setAttribute('href',destination);e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");window.document.body.appendChild(e);
		//location.href=(destination);
	}
}
include(script_url+"js_apis/cross-slide/jquery.cross-slide.min.js");

include(script_url+"js_apis/block-ui/jquery.blockUI.js");
include(script_url+"js_apis/alphanumeric/jquery.alphanumeric.js");
include(script_url+"js_apis/passtrength/jquery.pstrength-min.1.2.js");

$(document).ready(function(){
	
});
$('a[href*=#]').live("click",function() {
 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
 && location.hostname == this.hostname) {
   var $target = $(this.hash);
   $target = $target.length && $target
   || $('[name=' + this.hash.slice(1) +']');
   if ($target.length) {
  var targetOffset = $target.offset().top;
  $('html,body')
  .animate({scrollTop: targetOffset}, 1000);
    return false;
   }
 }
});

