// Absolute FAQ Manager .NET
// FAQ Launcher JS 
function xlaAFMlaunch() {
	xlaAFMopenwindow('','','');
}

function xlaAFMopenwindow(faqid,topicid,question){	
	if (document.all) {		
		windowheight = screen.availHeight;		
		windowwidth=screen.availWidth;		
		rightwidth=250;		
		leftwidth=screen.availWidth-rightwidth-11;		
		
		AFMwindow=window.open(
			'http://graphics.12rent.com/help12rent/afmmain.aspx?topicid=' + topicid + 
			'&faqid=' + faqid + 
			'&question=' + question,
			'xlaAFM','width='+rightwidth+
			',height='+windowheight+
			',screenX='+leftwidth+
			',screenY=0,top=0,left=' +leftwidth+
			',toolbar=0,location=0,status=1,menubar=0,resizable=1');		
		AFMwindow.focus();				
		
		// Resize Current Window 
		//top.resizeTo(leftwidth,windowheight);		
		
		top.moveTo(0,0);		
		top.focus();	
	} else {		
		AFMwindow=window.open(
			'http://graphics.12rent.com/help12rent/afmmain.aspx?topicid=' + topicid + 
			'&faqid=' + faqid + 
			'&question=' + question  ,
			'',
			'width=250,height=480,toolbar=0,location=0,status=1,menubar=0,resizable=1'
		);	
	}
}
