function scroll_right() {

	H=0;

       while(H<1390) {
       	window.scroll_slide.scroll(H,0);

       	if(H>250) {
       		H++;
       	} else {
       		H=H+5;
       	}
       }

	href_text_l = "<a href=\"javascript:scroll_left();\"><img width=\"13\" height=\"13\" src=\"images/slide/left.jpg\" border=\"0\"></a>";
	href_text_r = "<img width=\"13\" height=\"13\" src=\"images/slide/right_dis.jpg\" border=\"0\">";

	document.all.div_left.innerHTML=href_text_l
	document.all.div_right.innerHTML=href_text_r

}

function scroll_left() {

	H=1390;

 	while(H>0) {
        	window.scroll_slide.scroll(H,0);

        	if(H<250) {
        		H=H-5;
        	} else {
        		H--;
        	}
        }

	href_text_l = "<img width=\"13\" height=\"13\" src=\"images/slide/left_dis.jpg\" border=\"0\">";
	href_text_r = "<a href=\"javascript:scroll_right();\"><img width=\"13\" height=\"13\" src=\"images/slide/right.jpg\" border=\"0\"></a>";

	document.all.div_left.innerHTML=href_text_l
	document.all.div_right.innerHTML=href_text_r

}

function run_scroll() {

	href_text_l = "<img width=\"13\" height=\"13\" src=\"images/slide/left_dis.jpg\" border=\"0\">";

	hreftext_r = "<a href=\"javascript:scroll_right();\"><img width=\"13\" height=\"13\" src=\"images/slide/right.jpg\" border=\"0\"></a>";

	document.all.div_left.innerHTML=href_text_l
	document.all.div_right.innerHTML=hreftext_r

}

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}


function closeIt() { close(); }

function openPopup(url,name,width,height) {
	var popupWin = top[name];
	if (popupWin != null && typeof(popupWin) == 'object' && !popupWin.closed) {
		if (popupWin.document.location.href != url) {
			popupWin.document.location.href = url;
		}
	} else {
		popupWin = window.open(url, name, 'width=' + width + ',height=' + height + ',status=yes,menubar=yes,resizable=yes,scrollbars=yes,left=' + String((screen.width-width)/2) + ',top=' + String((screen.height-height)/2));
	}
	popupWin.focus();
}

