function tellafriend(anchorObj)
{
	window.open(anchorObj.href, 'tellafriend', "width=543, height=665,left=150,top=20, scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
	return false;
}


function r_examples(windowname)
{			
	window.open(windowname,"newwindow","width=539, height=500,left=150,top=50, scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
	return false;
}




function r_table_sort ( selectedtype )
{
	  document.t_sort.orderby.value = selectedtype ;
	  document.t_sort.submit() ;
}

/*
function replaceStep(step)
{
    var tmpObj="";
    
    switch (step)
    {
        case '0':
                     
                     tmpObj=document.getElementById("step1");
                     tmpObj.style.visibility="visible"; 
                     tmpObj=document.getElementById("step2");
                     tmpObj.style.visibility="hidden";  
                     tmpObj=document.getElementById("step3");
                     tmpObj.style.visibility="hidden";                    
                     break;
        case '1':
                     
                     tmpObj=document.getElementById("step1");
                     tmpObj.style.visibility="visible";   
                     tmpObj=document.getElementById("step2");
                     tmpObj.style.visibility="hidden";  
                     tmpObj=document.getElementById("step3");
                     tmpObj.style.visibility="hidden";
                     
                     break;             
        case '2':
                       
                     tmpObj=document.getElementById("step1");
                     tmpObj.style.visibility="hidden";
                     tmpObj=document.getElementById("step2");
                     tmpObj.style.visibility="visible";   
                     tmpObj=document.getElementById("step3");
                     tmpObj.style.visibility="hidden";

                     break;             
        case '3':
                       
                     tmpObj=document.getElementById("step1");
                     tmpObj.style.visibility="hidden";
                     tmpObj=document.getElementById("step2");
                     tmpObj.style.visibility="hidden";
                     tmpObj=document.getElementById("step3");
                     tmpObj.style.visibility="visible";   
                     break;        
    }
}*/
