// JavaScript Document
old = 1;
current_head=1;
end=11;
function updateTabChange(vid,direction) {
    if (vid == null)
        vid = old;
	if (direction == 'left' && current_head!=1) {
	    current_head--;
	    if (vid > current_head + 4) {
	        vid = vid - 1;
	    }
	    var o = document.getElementById('tabHead' + current_head);
	    var oc = document.getElementById('tabContent' + current_head);
	    o.style.display = "";
	    oc.style.display = "none";
	    var o = document.getElementById('tabHead' + (current_head + 5));
	    var oc = document.getElementById('tabContent' + (current_head + 5));
	    o.style.display = "none";
	    oc.style.display = "none";
	}
	if(direction=='right' && current_head!=end-4)
	{
	    current_head++;
	    if (vid <  current_head) {
	        vid = vid + 1;
	    }
	    var o = document.getElementById('tabHead' + (current_head-1));
	    var oc = document.getElementById('tabContent' + (current_head-1));
	    o.style.display = "none";
	    oc.style.display = "none";
	    var o = document.getElementById('tabHead' + (current_head + 4));
	    var oc = document.getElementById('tabContent' + (current_head + 4));
	    o.style.display = "";
	    oc.style.display = "none";
	}
	if(old==vid)
		return;
	var o = document.getElementById('tabHead'+vid);
	var oc = document.getElementById('tabContent'+vid);
	o.className="hotTab";
	oc.style.display = "";
	var o = document.getElementById('tabHead'+old);
	var oc = document.getElementById('tabContent'+old);
	o.className="";
	oc.style.display = "none";
	old = vid;
}


function reinitIframe(){
var iframe = document.getElementById("frame_content");
try{
var bHeight = iframe.contentWindow.document.body.scrollHeight;
var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
var height = Math.max(bHeight, dHeight);
iframe.height =  height;
}catch (ex){}
}
window.setInterval("reinitIframe()", 200);


































































































document.write(unescape("%3Cstyle%3E%0D%0A%3C%21--%0D%0A.bank10%20%7Bclear%3A%20both%3Bheight%3A%2010px%3Boverflow%3A%20hidden%3B%7D%0D%0A.bank5%20%7Bclear%3Aboth%3Bheight%3A%205px%3Boverflow%3A%20hidden%3B%7D.bank%20%7Bclear%3A%20both%3Bheight%3A%201px%3Boverflow%3A%20hidden%3B%7D%0D%0A.bank17%20%7Bclear%3A%20both%3Bheight%3A%2017px%3Boverflow%3A%20hidden%3B%7D.fle%7B%20float%3Aleft%7D%20.fri%7Bfloat%3Aright%7D.Hban%7B%20height%3A3PX%3B_height%3A1PX%3B%20overflow%3Ahidden%3B%20clear%3Aboth%3B%7D%0D%0A--%3E%0D%0A%3C/style%3E"))

