/*function Tab(name,cursel,n){
	for (i=1; i<=n; i++){ 
        var menu=document.getElementById(name+i);
		var con=document.getElementById(name+"Con"+i);
		if (i==cursel){
		    menu.style.backgroundImage='url(images/passport_off.jpg)';
			menu.style.color='#FFF';
			menu.style.cursor='pointer';
			con.style.display='block';
		} 
		else{
		    menu.style.backgroundImage='url(images/passport_on.jpg)';
			menu.style.color='#313131';
			menu.style.cursor='pointer';
			con.style.display='none';
		} 
	}
} 

function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  
  return foundObj;
}

*/

function showHidden(num)
{
		if(num==1)
		{
				document.getElementById('nav1').className = 'navTit1';
				document.getElementById('nav2').className = 'navTit2';
				document.getElementById('navCon1').style.display = '';
				document.getElementById('navCon2').style.display = 'none';
			}
			if(num==2)
		{
				document.getElementById('nav1').className = 'navTit2';
				document.getElementById('nav2').className = 'navTit1';
				document.getElementById('navCon1').style.display = 'none';
				document.getElementById('navCon2').style.display = '';
			}
	}

function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  
  return foundObj;
}

function Tab_qx(name,cursel,n){
	for (i=1; i<=n; i++){ 
        var menu=document.getElementById(name+i);
		var con=document.getElementById(name+"Con"+i);
		if (i==cursel){
		    menu.style.backgroundImage='url(images/qx_lmenu01.jpg)';
			menu.style.color='#FFF';
			menu.style.fontSize='14px';
			menu.style.cursor='pointer';
			con.style.display='block';
		} 
		else{
		    menu.style.backgroundImage='url(images/qx_lmenu02.jpg)';
			menu.style.color='#1871B7';
			menu.style.fontSize='14px';
			menu.style.cursor='pointer';
			con.style.display='none';
		} 
	}
} 

