$(document).ready(function(){ 
        $("ul.sf-menu").supersubs({ 
            minWidth:    12,   // minimum width of sub-menus in em units 
            maxWidth:    27,   // maximum width of sub-menus in em units 
            extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish(); 

	
    }); 



 


function printSelection(node){

  var content=node.innerHTML
  var pwin=window.open('','print_content','width=500,height=500,resizable=1,scrollbars=1');

  pwin.document.open();
  pwin.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><STYLE type=text/css>.header{	background-image:url(tra_new_last_files/header.jpg);	background-repeat:repeat-x;	font-weight:bold;	COLOR: #ffffff;		padding-top:5px;	padding-bottom:5px;	padding-right:7px;	padding-left:7px;	margin:0px;}.content{	color:#5b5961;	padding:7px;	}.style71 {color: #1656A0}.style73 {color: #1656A0; font-weight: bold; }.style76 {font-weight: bold}.style79 {color: #808080; font-size: 9pt;}.style81 {color: #4D6185}a:link {	color: #FF9900;	text-decoration: none;}a:visited {	text-decoration: none;	color: #FF9900;}a:hover {	text-decoration: none;	color: #1656A0;}a:active {	text-decoration: none;	color: #FF9900;}</STYLE><link media=all href="tra_new_last_files/file-ar.css" type=text/css rel=stylesheet></head><BODY style="margin:0px; padding:0px;" onload="window.print()"><table width="100%" border="0" cellspacing="0" cellpadding="0"><TR><TD><IMG src="tra_new_last_files/UAE-Logo.jpg"></TD><TD align=right valign="bottom" style="padding-right:7px;"><img src="tra_new_last_files/TRA-Logo.jpg"></TD></tr><tr><td><img src="tra_new_last_files/spacer.jpg" height="15" /></td></tr><TR><td valign="top" width="100%" colspan="2" style="padding:7px;">');

  pwin.document.write(content+'</body></html>');

  pwin.document.close();
 



}



function show_hide(id){
	$(document).ready(function(){

	    $("#"+id).slideToggle();
	 
	});

}

function changeFontSize(element,step)
{
	step = parseInt(step,10);
	var el = document.getElementById(element);
	var curFont = parseInt(el.style.fontSize,10);
	el.style.fontSize = (curFont+step) + 'px';
}


function changeFont(element,step)
{
	document.getElementById(element).style.fontSize = (parseInt(document.getElementById(element).style.fontSize,10)+parseInt(step,10)) + 'px';
}

function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
