/* 
******************************************
**   DHTML No-Block PopUp Window Script **
**   (c)2005 Spider WebMaster Tools.com **
**  http://www.SpiderWebMasterTools.com **
******************************************
				
The following variables an be assigned your particuliar values. Keep all values within single quotes ('). Do not use 'auto' or percentages for pop up window width or height if the variable centerPopUpWindow is set to yes.

*/

var faq_popWindowWidth = '550'; // pop up window width (in pixels) .

/*
var faq_popWindowHeight = '300'; // pop up window height (in pixels).
*/

var faq_centerPopUpWindow = 'no'; // do you want the pop up window to be automatically centered in browser window? yes or no. NOTE: Height is somewhat higher than center due to toolbars and browser top height.
var faq_popWindowBackgroundColor = 'white'; // pop up window background color (named or rgb).

var faq_popWindowPadding = '12'; // padding or margin between contents of pop up window and edges of pop up window in pixels.

var faq_popWindowPositionTop = '345'; // where top edge of popup window will be displayed (ignored if faq_centerPopUpWindow = true - see above).

var faq_popWindowPositionLeft = '250'; // where left edge of popup window will be displayed (ignored if faq_centerPopUpWindow = true - see above).

var faq_popWindowBorderStyle = 'outset'; // type of border for popup (solid,double,grooved,ridged,inset,outset).

var faq_popWindowBorderWidth = '5'; // border thickness of popup window (must be at least 3 for double style).

var faq_popWindowBorderColor = 'black'; // color of border (named or rgb).

var faq_popWinFontFamily = 'arial,verdana,sans-serif'; //font-family of text within pop up window. NOTE: Leave empty ('') if defined elsewhere.

var faq_popWinFontSize = '11px'; // size of font for text in pop up window. Again, leave empty ('') if defined elsewhere.

var faq_popWindowDelay = '200'; // microseconds before pop up is displayed (1000 = 1 second).

var faq_popWindowShadowColor = 'grey'; //drop shadow color, named or rgb - shows in IE5+ only. 'none'=no shadow.

	var ie=document.all
	var ns6=document.getElementById && !document.all
function showFaqPopUp(){
    document.getElementById('pWinFaqConfg').style.visibility='visible';
}
function hideFaqPopUp(){
    document.getElementById('pWinFaqConfg').style.visibility='hidden';
}   
function startFaqPopUp(){
    timerID=setTimeout('showFaqPopUp()',faq_popWindowDelay);
} 
/*
	heres where we set the popup window class properties..
*/
var pWinFaqConfg = "<style>.pWinFaqConfg{\n";
	if(faq_popWinFontFamily !== ''){
		pWinFaqConfg += "font-family:"+faq_popWinFontFamily+";\n";
	}
	if(faq_popWinFontSize !== ''){
		pWinFaqConfg += "font-size:"+faq_popWinFontSize+";\n";
	}
pWinFaqConfg += "position:absolute;\n";
pWinFaqConfg += "width:"+faq_popWindowWidth+";\n";
/*
pWinFaqConfg += "height:"+faq_popWindowHeight+";\n"; 
*/

pWinFaqConfg += "background-color:"+faq_popWindowBackgroundColor+";\n";
		if(faq_centerPopUpWindow.toLowerCase() == 'yes'){
			var popTop = (screen.height/2.667) - (faq_popWindowHeight/2);
			var popLeft = (screen.width/2) - (faq_popWindowWidth/2);
			pWinFaqConfg += "top:"+popTop+";\n";
			pWinFaqConfg += "left:"+popLeft+";\n";
		}else{
			pWinFaqConfg += "top:"+faq_popWindowPositionTop+";\n";
			pWinFaqConfg += "left:"+faq_popWindowPositionLeft+";\n";
		}
pWinFaqConfg += "border-style:"+faq_popWindowBorderStyle+";\n";
pWinFaqConfg += "border-width:"+faq_popWindowBorderWidth+";\n";
pWinFaqConfg += "border-color:"+faq_popWindowBorderColor+";\n";
pWinFaqConfg += "padding:"+faq_popWindowPadding+";\n";
pWinFaqConfg += "visibility:hidden;\n";
if(faq_popWindowShadowColor != 'none'){
pWinFaqConfg += "@filter: progid:DXImageTransform.Microsoft.Shadow(color="+faq_popWindowShadowColor+",direction=135);\n";
}
pWinFaqConfg += "}<\/style>\n";
document.write(pWinFaqConfg);

