///
/// function to combine all overlib context help. 
/// only supports basic html, unless property is specified.
///    
function display_overlib ( p_strmsg )
{
	var strtitle	= '';
	var strmessage	= '';
	var strstatus	= '';
	
	switch ( p_strmsg )
	{
	
		case 'TERMS_CONDITIONS':
		{
			strmessage = 'Goods sold are subject to the manufacturers or licensors standard terms and conditions. ' + 
			'Any recourse, recovery or warranty is strictly limited to such standard terms and conditions and/or those which may be provided by <b>xwave&#39;s</b> authorized distributor. ' +
			'<b>xwave</b> makes no representation or warranty with regard to fitness for a particular purpose or non-infringement and disclaims any and all liability in this regard.  ' + 
			'Returns of any product(s) are subject to <b>xwave</b>&#39;s acceptance of such product(s), and the product(s) being in the same condition as when it was provided by <b>xwave</b>.  '+
			'Customer may be charged a restocking fee.  Customer warrants product(s) supplied by <b>xwave</b> are for internal use only and are not for resale.';
			
			/*
				Old version, last updated please use above as directed by Christine Sauliner: November 28th, 2007.
			strmessage = 'Goods sold are subject to the manufacturers or licensors standard terms and conditions. ' +
			'Any recourse, recovery or warranty is strictly limited to such standard terms and conditions and/or those which may be provided by xwave&#39;s authorized distributor. ' +
			'<b>xwave</b> makes no representation or warranty with regard to fitness for a particular purpose or non-infringement and disclaims any and all liability in this regard.  ' +
			'Returns of any product(s) are subject to <b>xwave</b>&#39;s acceptance of such product(s), and the product(s) being in the same condition as when it was provided by <b>xwave</b>.  ' + 
			'Customer shall be charged a restocking fee of 15% of original sell price to a minimum of $25.  ' + 
			'Some exceptions may apply to the return policy, and Customer shall confirm the terms with <b>xwave</b>. ' + 
			'Customer warrants product(s) supplied by <b>xwave</b> are for internal use only.';
			*/
			
			strtitle = '<B>Terms & Conditions</B>';
		}
		break;				
		
		case 'RETURN_DAMAGE':
		{
			strmessage = 'Please provide box or product damage details in the additional information field.';
			
			strtitle = '<B>Product Return - Damage</B>';
		}
		break;				
		
	}
	
	strstatus	= strtitle;
	
	return display_overlibMsg( strtitle, strmessage );
}

///
/// function to combine all overlib context help. 
/// only supports basic html, unless property is specified.
///    
function display_overlibMsg( p_strtitle, p_strMsg )
{
	var strtitle	= '';
	var strmessage	= '';
	var strstatus	= '';
	
	return overlib(p_strMsg, CAPTION, p_strtitle, FGCOLOR, '#FFFFCC', TEXTCOLOR, '#0000FF', 
				STATUS, p_strtitle, WIDTH, 400, TEXTSIZE, '10px');
}
