// JavaScript Document
function slideUD(currid) 
{
	var prefix = "prodrightph_";
	var total = 5;
	var currid = "#" + prefix + currid
	for(i=1;i<=total;i++)
	{
		id = "#" + prefix + i;
		if (id == currid)
		{
			$(id).slideDown("slow");
		}
		else
		{
			$(id).fadeOut("slow");
		}
	}
}
function show(id)
{
	 document.getElementById(id).style.display = "block";
	 document.getElementById(id).style.border = "#FFFF00 solid 1px";
}
function hide(id) 
{
	/*var id = "#" + id
     $(id).fadeOut("slow");*/
	 document.getElementById(id).style.display = "none";
	 document.getElementById(id).style.border = "#000000 solid 1px";	 
}
function slideup(id) 
{
     var id = "#" + id
     $(id).slideUp("1222");
}

function init_scroll_1() {
    var wndo = new dw_scrollObj('wn_1', 'lyr_1', 't_1');
    wndo.setUpScrollControls('1_SL_L');
	wndo.setUpScrollControls('1_SL_R');
}
function init_scroll_2() {
    var wndo = new dw_scrollObj('wn_2','lyr_2','t_2');
    wndo.setUpScrollControls('2_SL_L');
	wndo.setUpScrollControls('2_SL_R');
}
function init_scroll_3() {
    var wndo = new dw_scrollObj('wn_3','lyr_3','t_3');
    wndo.setUpScrollControls('3_SL_L');
	wndo.setUpScrollControls('3_SL_R');
}
function init_scroll_4() {
    var wndo = new dw_scrollObj('wn_4','lyr_4','t_4');
    wndo.setUpScrollControls('4_SL_L');
	wndo.setUpScrollControls('4_SL_R');
}
function init_scroll_5() {
    var wndo = new dw_scrollObj('wn_5','lyr_5','t_5');
    wndo.setUpScrollControls('5_SL_L');
	wndo.setUpScrollControls('5_SL_R');
}

