//Function to jump to another forum
function ForumJump(URL) {
	
	if (URL.options[URL.selectedIndex].value != "") self.location.href = URL.options[URL.selectedIndex].value;	
	return true;
}

function ForumJump_ABS(URL) {
	
	if (URL.options[URL.selectedIndex].value != "") 
        { 
           if (URL.selectedIndex != 0)     
           {
              window.open(URL.options[URL.selectedIndex].value, 'abs_contents_frame'); 
 

             // URL.selectedIndex = 0;

              parent.focus();
           }

 
	
	   return true;
        }
}

function start_comment_if_childof_career()
{

   var i = document.referrer.indexOf("FID=19&");
   var j = document.referrer.indexOf("FID=19");


   if ((i != -1) || (j == (document.referrer.length - 6)))
   {
     document.write ("</td></tr></table></td><td width=135 ><td rowspan=4 width=135 align=right >\n");
     document.write("<iframe src=\"http://forums.abs-consulting.com/_external_searches/monster.html?ClearCase\" width=\"135\" height=\"100\" STYLE=\"border:solid black 1px\"  frameborder=\"0\" scrolling=\"no\"></iframe>\n");
    
     document.write ("</td></tr></table>\n");
 
     document.write(" <!-- \n  ");
   }
}

function start_conditional_comment()
{
   if (parent.frames[0] && (parent.frames[0].name == "from_abs_clearweb_network_body_frame"))
   {
     document.write("<!-- client side decision to add code --> \n  ");


     document.write("<!-- client side decision to comment out following: --> <!-- \n  ");
   }
}

function end_conditional_comment()
{
   if (parent.frames[0] && (parent.frames[0].name == "from_abs_clearweb_network_body_frame"))
   {
     document.write(" --> \n");
   }
}



//Function to open pop up window
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}


//Function to open preview post window
function OpenPreviewWindow(targetPage, formName){
	
	now = new Date  
	
	//Open the window first 	
   	openWin('','preview','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=680,height=400')
   		
   	//Now submit form to the new window
   	formName.action = targetPage + "?ID=" + now.getTime();	
	formName.target = "preview";
	formName.submit();
}
