
function collapse_admin_menu_right(PK){
	$S('block_'+PK+'_ADMIN_CENTER').display='none';
	$S('block_'+PK+'_ADMIN_REFRESH').display='none';
	$S('block_'+PK+'_ADMIN_MINIMIZE').display='none';
	$S('block_'+PK+'_ADMIN_CLOSE').display='none';
	$S('block_'+PK+'_ADMIN_GORIGHT').display='none';
	$S('block_'+PK+'_ADMIN_MINIRIGHT').display='';
	$S('block_'+PK+'_ADMIN').width=parseInt($S('block_'+PK+'_ADMIN').width)-80+'px';
	$S('block_'+PK+'_ADMIN').left=parseInt($S('block_'+PK+'_ADMIN').left)+80+'px';
	$S('block_'+PK+'_ADMINLEFT').left=parseInt($S('block_'+PK+'_ADMINLEFT').left)+80+'px';

return false;
}

function mini_admin_menu_right(PK){
	$S('block_'+PK+'_ADMIN_BLOCK').display='none';
	$S('block_'+PK+'_ADMIN_CONTENT').display='none';
	$S('block_'+PK+'_ADMIN_STYLE').display='none';
	$S('block_'+PK+'_ADMIN_MINIRIGHT').display='none';
	$S('block_'+PK+'_ADMIN_MAXIRIGHT').display='';
	$S('block_'+PK+'_ADMIN').width=parseInt($S('block_'+PK+'_ADMIN').width)-60+'px';
	$S('block_'+PK+'_ADMIN').left=parseInt($S('block_'+PK+'_ADMIN').left)+60+'px';
	$S('block_'+PK+'_ADMINLEFT').left=parseInt($S('block_'+PK+'_ADMINLEFT').left)+60+'px';
return false;
}

function maxi_admin_menu_right(PK){
	$S('block_'+PK+'_ADMIN_CENTER').display='';
	$S('block_'+PK+'_ADMIN_REFRESH').display='';
	$S('block_'+PK+'_ADMIN_MINIMIZE').display='';
	$S('block_'+PK+'_ADMIN_CLOSE').display='';

	$S('block_'+PK+'_ADMIN_BLOCK').display='';
	$S('block_'+PK+'_ADMIN_CONTENT').display='';
	$S('block_'+PK+'_ADMIN_STYLE').display='';

	$S('block_'+PK+'_ADMIN_MAXIRIGHT').display='none';
	$S('block_'+PK+'_ADMIN_GORIGHT').display='';

	$S('block_'+PK+'_ADMIN').width=180+'px';
	$S('block_'+PK+'_ADMIN').left=parseInt($S('block_'+PK+'_ADMIN').left)-140+'px';
	$S('block_'+PK+'_ADMINLEFT').left=parseInt($S('block_'+PK+'_ADMIN').left)-8+'px';
return false;
}

function move_admin_menu_left(PK){
	$S('block_'+PK+'_ADMIN_MOVELEFT').display='none';
	$S('block_'+PK+'_ADMIN_GOLEFT').display='';
	$S('block_'+PK+'_ADMIN').left=8+'px';
	$S('block_'+PK+'_ADMINLEFT').left=0+'px';
	$S('block_'+PK+'_ADMINRIGHT').left=parseInt($S('block_'+PK+'_ADMIN').width)+8+'px';
return false;
}

function collapse_admin_menu_left(PK){
	$S('block_'+PK+'_ADMIN_CENTER').display='none';
	$S('block_'+PK+'_ADMIN_BLOCK').display='none';
	$S('block_'+PK+'_ADMIN_CONTENT').display='none';
	$S('block_'+PK+'_ADMIN_STYLE').display='none';
	$S('block_'+PK+'_ADMIN_GOLEFT').display='none';
	$S('block_'+PK+'_ADMIN_MINILEFT').display='';
	$S('block_'+PK+'_ADMIN').width=parseInt($S('block_'+PK+'_ADMIN').width)-80+'px';
	$S('block_'+PK+'_ADMINRIGHT').left=parseInt($S('block_'+PK+'_ADMIN').width)+8+'px';
return false;
}

function mini_admin_menu_left(PK){
	$S('block_'+PK+'_ADMIN_REFRESH').display='none';
	$S('block_'+PK+'_ADMIN_MINIMIZE').display='none';
	$S('block_'+PK+'_ADMIN_CLOSE').display='none';
	$S('block_'+PK+'_ADMIN_MINILEFT').display='none';
	$S('block_'+PK+'_ADMIN_MAXILEFT').display='';
	$S('block_'+PK+'_ADMIN').width=parseInt($S('block_'+PK+'_ADMIN').width)-60+'px';
	$S('block_'+PK+'_ADMINRIGHT').left=parseInt($S('block_'+PK+'_ADMIN').width)+8+'px';
return false;
}

function maxi_admin_menu_left(PK){
	$S('block_'+PK+'_ADMIN_CENTER').display='';
	$S('block_'+PK+'_ADMIN_REFRESH').display='';
	$S('block_'+PK+'_ADMIN_MINIMIZE').display='';
	$S('block_'+PK+'_ADMIN_CLOSE').display='';

	$S('block_'+PK+'_ADMIN_BLOCK').display='';
	$S('block_'+PK+'_ADMIN_CONTENT').display='';
	$S('block_'+PK+'_ADMIN_STYLE').display='';

	$S('block_'+PK+'_ADMIN_MAXILEFT').display='none';
	$S('block_'+PK+'_ADMIN_MOVELEFT').display='';

	$S('block_'+PK+'_ADMIN').width=180+'px';
	$S('block_'+PK+'_ADMIN').left=parseInt($('block_'+PK).currentStyle.width)-188+'px';
	$S('block_'+PK+'_ADMINLEFT').left=parseInt($S('block_'+PK+'_ADMIN').left)-8+'px';
	$S('block_'+PK+'_ADMINRIGHT').left=parseInt($('block_'+PK).currentStyle.width)-8+'px';
return false;
}

var swfu; 
var browserId; 

var isDragging=0,dragType,dragPK,dragEndTop,dragEndLeft,dragSubmissionConfirmed,iPreloaded=0;

var pageWidth=900; 

function jsBrowserId() {
	tmpstr=navigator.userAgent;
	tmpregexp = new RegExp("MSIE");
	if (tmpstr.match(tmpregexp)) {
		browserId="MSIE";
	}
	tmpregexp = new RegExp("Firefox");
	if (tmpstr.match(tmpregexp)) {
		browserId="FIREFOX";
	}
	tmpregexp = new RegExp("Konqueror");
	if (tmpstr.match(tmpregexp)) {
		browserId="KONQUEROR";
	}
	tmpregexp = new RegExp("Safari");
	if (tmpstr.match(tmpregexp)) {
		browserId="SAFARI";
	}
}
function Preload_ALLImages() {
	if (iPreloaded==0){ 
		if(document.images){ 
			if(!document.preloadIM) document.preloadIM=new Array();
			var i,j=document.preloadIM.length,k=document.images; 
			for(i=0; i<k.length; i++) {
				if (k.className = "IMPRELOAD") {
					document.preloadIM[j]=new Image; document.preloadIM[j++].src=k[i].src;
				}
			}
		}
		iPreloaded=1;
	}
	return false;
}

function $(objname) {
	if(document.getElementById(objname)) {
		return (document.getElementById(objname));
	}
	else return(objname);
}
function $S(objname) {
	if (typeof($(objname))!="undefined") {
		if(typeof($(objname).style)!="undefined") {
		}
		else {
			$(objname).style ='';
		}
		return ($(objname).style);
	}
	else if(typeof(objname)!="undefined") {
		if(typeof(objname.style)!="undefined") {
		}
		else {
			objname.style ='';
		}
		return (objname.style);
	}
	return false;
}

function isset(obj) {
	if (obj) {
		if((typeof(obj)=="undefined")||(obj.length==0)) return(false);
		else return(true);
	}
	else {return(false);}
}

function getStyle(oElm, strCssRule){
    var strValue = "";
	if(!$S(oElm)) {return false;}
    if(document.defaultView && document.defaultView.getComputedStyle){
        var css = document.defaultView.getComputedStyle(oElm, null);
        strValue = css ? css.getPropertyValue(strCssRule) : null;
    }
    else if(oElm.currentStyle){
        strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){
            return p1.toUpperCase();
        });
        strValue = oElm.currentStyle[strCssRule];
    }
    return strValue;
}

function footerCorrection(obj,tHeight) {
	var footHeight = parseInt(getStyle($("Main_Footer"),"top"));
	var tmpPos = parseInt(getStyle(obj,"top"));
	tmpPos += tHeight + 020;
	//alert(footHeight);
	//alert(tmpPos);
	if (tmpPos > footHeight) {
		//alert(tmpPos);
		$S("Main_Footer").top = tmpPos + "px";
		$S("Main_Footer").display="";
		
	}
}

function setOpacity(obj, opacity) {
	opacity = (opacity == 100)?99.999:opacity;
	// IE/Win
	if(browserId=="MSIE"){
		$S(obj).filter = "alpha(opacity="+opacity+")";
		if ((opacity == 100)||(opacity == 99.999)) {$S(obj).filter = '';}
	}
	// Safari<1.2, Konqueror
	if(browserId=="KONQUEROR"){
		$S(obj).KHTMLOpacity = opacity/100;
	}
	// Older Mozilla and Firefox
//	if(browserId=="MSIE"){	
//		$S(obj).MozOpacity = opacity/100;
//	}
	// Safari 1.2, newer Firefox and Mozilla, CSS3
	if(browserId=="SAFARI" || browserId=="FIREFOX"){
		$S(obj).opacity = opacity/100;
	}
}

function fadeIn(obj,opacity,omax,fadetime,fadestep,delopacity) {
  if (document.getElementById) {
	if(!fadetime) {
		if(!omax) {var omax = 100;}
	    if (opacity <= omax) {
	      setOpacity(obj, opacity);
	      opacity += 20;
	      window.setTimeout("fadeIn('"+obj+"',"+opacity+","+omax+");", 100);
			return false;
		}
		else setOpacity(obj, omax);
	}
	else {
		$S(obj).display = "block";
		var fpms = .015;
		var stepnum = Math.floor(fpms * fadetime);
		if(!delopacity) var delopacity = (omax - opacity)/stepnum;
		if(!fadestep) var fadestep = 0;
		if(fadestep <= stepnum) {
			setOpacity(obj, opacity);
			opacity += delopacity;
			fadestep++;
			if (fadestep == stepnum) setOpacity(obj, omax);
			else window.setTimeout("fadeIn('"+obj+"',"+opacity+","+omax+","+fadetime+","+fadestep+","+delopacity+");", 67);
		}
	}
  }
  return false;
}

function fadeOut(obj,opacity,omin,fadetime,fadestep,delopacity) {
  if (document.getElementById) {
	if(!fadetime) {
		if(!omin) {var omin = 0;}
	    if (opacity >= omin) {
	      setOpacity(obj, opacity);
	      opacity -= 20;
	      window.setTimeout("fadeOut('"+obj+"',"+opacity+","+omin+");", 100);
			return false;
		}
		else setOpacity(obj, omin);
	}
	else {
		var fpms = .015;
		var stepnum = Math.floor(fpms * fadetime);
		if(!delopacity) var delopacity = (opacity - omin)/stepnum;
		if(!fadestep) var fadestep = 0;
		if(fadestep <= stepnum) {
			setOpacity(obj, opacity);
			opacity -= delopacity;
			fadestep++;
			if (fadestep == stepnum) {setOpacity(obj, omin); if(omin == 0) $S(obj).display = 'none';}
			else window.setTimeout("fadeOut('"+obj+"',"+opacity+","+omin+","+fadetime+","+fadestep+","+delopacity+");", 67);
		}
	}
  }
  return false;
}

function SetUploadPageState() {
	$S('UPLOAD_SELECT_FILES').display='none';
	$S('UPLOAD_FOLDER_LIST').display='block';
	return false;
}

function LarsAdditionsfromheredown(){
    }
	
function countredirect(){
    if (currentsecond!=1){
        currentsecond-=1;
        document.redirect.redirect2.value=currentsecond;
    }

setTimeout("countredirect()",1000);
}
var block_4072_slideshow_array = new Array();
block_4072_slideshow_array["jsss_id"] = new Array(); 
block_4072_slideshow_array["path"] = 'images/affiliates'; 
block_4072_slideshow_array["count"] = 0;block_4072_slideshow_array["jsss_id"][0] = 'block_4072_js_slideshow_0';block_4072_slideshow_array["jsss_id"][1] = 'block_4072_js_slideshow_1';block_4072_slideshow_array["jsss_id"][2] = 'block_4072_js_slideshow_2';block_4072_slideshow_array["jsss_id"][3] = 'block_4072_js_slideshow_3';block_4072_slideshow_array["jsss_id"][4] = 'block_4072_js_slideshow_4';block_4072_slideshow_array["jsss_id"][5] = 'block_4072_js_slideshow_5';block_4072_slideshow_array["jsss_id"][6] = 'block_4072_js_slideshow_6';block_4072_slideshow_array["jsss_id"][7] = 'block_4072_js_slideshow_7';block_4072_slideshow_array["jsss_id"][8] = 'block_4072_js_slideshow_8';block_4072_slideshow_array["jsss_id"][9] = 'block_4072_js_slideshow_9';block_4072_slideshow_array["jsss_id"][10] = 'block_4072_js_slideshow_10';block_4072_slideshow_array["jsss_id"][11] = 'block_4072_js_slideshow_11';block_4072_slideshow_array["jsss_id"][12] = 'block_4072_js_slideshow_12';block_4072_slideshow_array["jsss_id"][13] = 'block_4072_js_slideshow_13';block_4072_slideshow_array["jsss_id"][14] = 'block_4072_js_slideshow_14';block_4072_slideshow_array["jsss_id"][15] = 'block_4072_js_slideshow_15';block_4072_slideshow_array["jsss_id"][16] = 'block_4072_js_slideshow_16';block_4072_slideshow_array["jsss_id"][17] = 'block_4072_js_slideshow_17';block_4072_slideshow_array["jsss_id"][18] = 'block_4072_js_slideshow_18';block_4072_slideshow_array["jsss_id"][19] = 'block_4072_js_slideshow_19';block_4072_slideshow_array["jsss_id"][20] = 'block_4072_js_slideshow_20';block_4072_slideshow_array["jsss_id"][21] = 'block_4072_js_slideshow_21';block_4072_slideshow_array["jsss_id"][22] = 'block_4072_js_slideshow_22';block_4072_slideshow_array["jsss_id"][23] = 'block_4072_js_slideshow_23';block_4072_slideshow_array["jsss_id"][24] = 'block_4072_js_slideshow_24';function fadeblock_4072_js_slideshow(fadetime,showtime,cycletime){
	var obj = block_4072_slideshow_array['jsss_id'][block_4072_slideshow_array['count']];

	if(block_4072_slideshow_array['jsss_id'].length > (block_4072_slideshow_array['count'] + 1)) {
		block_4072_slideshow_array['count']++;
	}
	else {
		block_4072_slideshow_array['count'] = 0;
	}

	var nextobj = block_4072_slideshow_array['jsss_id'][block_4072_slideshow_array['count']];

	setTimeout("fadeOut('"+obj+"',100,0,1000);",4000);
	setTimeout("fadeIn('"+nextobj+"',0,100,1000);",4000);
	setTimeout("fadeblock_4072_js_slideshow();",5000);
	return false;	
}//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
	var version;
	var axo;
	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {
		// version will be set for 7.X or greater players
		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		version = axo.GetVariable("$version");
	} catch (e) {
	}

	if (!version)
	{
		try {
			// version will be set for 6.X players only
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
			
			// installed player is some revision of 6.0
			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
			// so we have to be careful. 
			
			// default to the first public version
			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)		
			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater
			version = axo.GetVariable("$version");

		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 4.X or 5.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = axo.GetVariable("$version");
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 3.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = "WIN 3,0,18,0";
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 2.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			version = "WIN 2,0,0,11";
		} catch (e) {
			version = -1;
		}
	}
	
	return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	var flashVer = -1;
	
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			var descArray = flashDescription.split(" ");
			var tempArrayMajor = descArray[2].split(".");			
			var versionMajor = tempArrayMajor[0];
			var versionMinor = tempArrayMajor[1];
			var versionRevision = descArray[3];
			if (versionRevision == "") {
				versionRevision = descArray[4];
			}
			if (versionRevision[0] == "d") {
				versionRevision = versionRevision.substring(1);
			} else if (versionRevision[0] == "r") {
				versionRevision = versionRevision.substring(1);
				if (versionRevision.indexOf("d") > 0) {
					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
				}
			}
			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	else if ( isIE && isWin && !isOpera ) {
		flashVer = ControlVersion();
	}	
	return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
	versionStr = GetSwfVer();
	if (versionStr == -1 ) {
		return false;
	} else if (versionStr != 0) {
		if(isIE && isWin && !isOpera) {
			// Given "WIN 2,0,0,11"
			tempArray         = versionStr.split(" "); 	// ["WIN", "2,0,0,11"]
			tempString        = tempArray[1];			// "2,0,0,11"
			versionArray      = tempString.split(",");	// ['2', '0', '0', '11']
		} else {
			versionArray      = versionStr.split(".");
		}
		var versionMajor      = versionArray[0];
		var versionMinor      = versionArray[1];
		var versionRevision   = versionArray[2];

        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
		if (versionMajor > parseFloat(reqMajorVer)) {
			return true;
		} else if (versionMajor == parseFloat(reqMajorVer)) {
			if (versionMinor > parseFloat(reqMinorVer))
				return true;
			else if (versionMinor == parseFloat(reqMinorVer)) {
				if (versionRevision >= parseFloat(reqRevision))
					return true;
			}
		}
		return false;
	}
}

function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '';
  if (isIE && isWin && !isOpera)
  {
    str += '<object ';
    for (var i in objAttrs)
    {
      str += i + '="' + objAttrs[i] + '" ';
    }
    str += '>';
    for (var i in params)
    {
      str += '<param name="' + i + '" value="' + params[i] + '" /> ';
    }
    str += '</object>';
  }
  else
  {
    str += '<embed ';
    for (var i in embedAttrs)
    {
      str += i + '="' + embedAttrs[i] + '" ';
    }
    str += '> </embed>';
  }

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblClick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
      case "id":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}
/**************************************************************************************************
BSD License
The BSD License (http://www.opensource.org/licenses/bsd-license.php) specifies the terms and
conditions of use for FAVideo:

Copyright (c) 2007. Adobe Systems Incorporated.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted
provided that the following conditions are met:

  ¥ Redistributions of source code must retain the above copyright notice, this list of conditions
    and the following disclaimer.
  ¥ Redistributions in binary form must reproduce the above copyright notice, this list of
    conditions and the following disclaimer in the documentation and/or other materials provided
	with the distribution.
  ¥ Neither the name of Adobe Systems Incorporated nor the names of its contributors may be used
    to endorse or promote products derived from this software without specific prior written
	permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIESOF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


For more information and updates for FAVideo, please visit:
http://www.adobe.com/go/favideo/
**************************************************************************************************/

/* ----------------------------------------------------
 * FAVideo system
 *
 * This system provide a simple method for embedding and controlling Flash video through Javascript.
 *
 * Dependencies:
 * - Requires AC_RunActiveContent.js
 *----------------------------------------------------- */


/* ----------------------------------------------------
 * FAVideo
 *
 * FAVideo represents a video player instance on the page. It allows you to instantiate, control,
 * and listen to events from a Flash video player through Javascript.
 *----------------------------------------------------- */
	FAVideo = function(divName, videoPath, width, height, options) {
		this.DEFAULT_SWF_PATH = "include/Modules/ADOBEFLV_VIDEOS/FAVideo"; // dot swf is added by AC_RunActiveContent
		this.DEFAULT_SKIN_PATH = "include/Modules/ADOBEFLV_VIDEOS/skins/ClearOverAll.swf";
		this.DEFAULT_WIDTH = 320;
		this.DEFAULT_HEIGHT = 240;
		this.ERROR_DIV_NOT_FOUND = "The specified DIV element was not found.";
		
		//this.DEFAULT_SKIN_PATH = "skins/ClearExternalAll.swf";
		
		this.id = FAVideoManagerInstance.addPlayer(this); // Manager manages multiple players
		this.rendered = false;
		this.inited = false;
		
		// Div name, flash name, and container name
		this.divName = divName;
		this.name = "FAVideo_" + divName;
		
		// Video props
		this.videoPath = videoPath;
		this.width = (width > 0) ? width : this.DEFAULT_WIDTH;
		this.height = (height > 0) ? height : this.DEFAULT_HEIGHT;
		
		// Initialize player
		this.player = null;
		this.initProperties();
		this.setOptions(options);
		this.createPlayer();
		this.render();
	}

/* ----------------------------------------------------
 * Public API methods
 *----------------------------------------------------- */
	/**
	 * Play an FLV.  Sets autoPlay to true.
	 * 
	 * @param videoPath Path to the FLV. If the videoPath is null, and the FLV is playing, it will act as a play/pause toggle.
	 * @param totalTime Optional totalTime to override the FLV's built in totalTime
	 */
	FAVideo.prototype.play = function(videoPath, totalTime) {
		this.autoPlay = true;
		if (totalTime != null) { this.setTotalTime(totalTime); }
		if (videoPath != null) { this.videoPath = videoPath; }
		if (this.videoPath == null && !this.firstLoad) { 
			this.dispatchEvent({type:"error", error:"FAVideo::play - No videoPath has been set."});
			return;
		}
		if (videoPath == null && this.firstLoad && !this.autoLoad) { // Allow play(null) to toggle playback 
			videoPath = this.videoPath;
		}
		this.firstLoad = false;
		this.callMethod("playVideo", videoPath, totalTime);	
	}
	
	/**
	 * Load a video.  Sets autoPlay to false.
	 *
	 * @param videoPath Path the the FLV.
	 */
	FAVideo.prototype.load = function(videoPath) {
		if (videoPath != null) { this.videoPath = videoPath; }
		if (this.videoPath == null) { 
			this.dispatchEvent({type:"error", error:"FAVideo::loadVideo - No videoPath has been set."});
			return;
		}
		this.firstLoad = false;
		this.autoPlay = false;
		this.callMethod("loadVideo", this.videoPath);
	}
	
	/**
	 * Toggle the pause state of the video.
	 *
	 * @param pauseState The pause state. Setting pause state to true will pause the video.
	 */
	FAVideo.prototype.pause = function(pauseState) {
		this.callMethod("pause", pauseState);
	}
	
	/**
	 * Stop playback of the video.
	 */
	FAVideo.prototype.stop = function() {
		this.callMethod("stop");
	}
	
	/**
	 * Seek the video to a specific position.
	 *
	 * @param seconds The number of seconds to seek the playhead to.
	 */
	FAVideo.prototype.seek = function(seconds) {
		this.callMethod("seek", seconds);
	}
	
	/**
	 * Set the size of the video.
	 *
	 * @param width The width of the video.
	 * @param height The height of the video.
	 */	
	FAVideo.prototype.setSize = function(width, height) {
		this.width = width;
		this.height = height;
		// Change the DOM.  Do not rerender.
		this.container.style.width = this.width + "px";
		this.container.style.height = this.height + "px";
		this.callMethod("setSize", this.width, this.height);
	}
	
	/**
	 * Add an event listener to the video.
	 *
	 * @param eventType A string representing the type of event.  e.g. "init"
	 * @param object The scope of the listener function (usually "this").
	 * @param function The function to be called when the event is dispatched.
	 */
	FAVideo.prototype.addEventListener = function(eventType, object, functionRef) {
		if (this.listeners == null) {
			this.listeners = {};
		}
		if (this.listeners[eventType] == null) {
			this.listeners[eventType] = [];
		} else {
			this.removeEventListener(eventType, object, functionRef);
		}
		this.listeners[eventType].push({target:object, func:functionRef});
	}
	
	/**
	 * Remove an event listener from the video.
	 *
	 * @param eventType A string representing the type of event.  e.g. "init"
	 * @param object The scope of the listener function (usually "this").
	 * @param functionRef The function to be called when the event is dispatched.
	 */
	FAVideo.prototype.removeEventListener = function(eventType, object, functionRef) {
		for (var i=0; i<this.listeners[eventType].length; i++) {
			var listener = this.listeners[eventType][i];
			if (listener.target == object && listener.func == functionRef) {
				this.listeners[eventType].splice(i, 1);
				break;
			}
		}
	}


/* ----------------------------------------------------
 * Public API property access methods
 *----------------------------------------------------- */
 	/**
	 * The volume of the player, from 0 to 100.
	 * @default 50
	 */
	FAVideo.prototype.getVolume = function() { return this.volume; }
	FAVideo.prototype.setVolume = function(value) {
		this.setProperty("volume", value);
	}
	
 	/**
	 * Specified whether the video begins playback when loaded.
	 * @default true
	 */
	FAVideo.prototype.getAutoPlay = function() { return this.autoPlay; }
	FAVideo.prototype.setAutoPlay = function(value) {
		this.setProperty("autoPlay", value);
	}
	
 	/**
	 * Specifies if the video toggles playback when the video is clicked.
	 * @default true
	 */
	FAVideo.prototype.getClickToTogglePlay = function() { return this.clickToTogglePlay; }
	FAVideo.prototype.setClickToTogglePlay = function(value) {
		this.setProperty("clickToTogglePlay", value);
	}
	
 	/**
	 * Specifies if the video automatically loads when the player is initialized with a videoPath.
	 * @default true
	 */
	FAVideo.prototype.getAutoLoad = function() { return this.autoLoad; }
	FAVideo.prototype.setAutoLoad = function(value) {
		this.setProperty("autoLoad", value);
	}
	
 	/**
	 * Determines if the flash controls hide when the user is idle.
	 * @default true
	 */
	FAVideo.prototype.getSkinAutoHide = function() { return this.skinAutoHide; }
	FAVideo.prototype.setSkinAutoHide = function(value) { 
		this.setProperty("skinAutoHide", value);
	}
	
 	/**
	 * Determines if the flash controls are visible.
	 * @default false
	 */
	FAVideo.prototype.getSkinVisible = function() { return this.skinVisible; }
	FAVideo.prototype.setSkinVisible = function(value) { 
		this.setProperty("skinVisible", value);
	}
	
 	/**
	 * Specifies the position of the playhead, in seconds.
	 * @default null
	 */
	FAVideo.prototype.getPlayheadTime = function() { return this.playheadTime; }
	FAVideo.prototype.setPlayheadTime = function(value) {
		this.setProperty("playheadTime", value);
	}
	
 	/**
	 * Determines the total time of the video.  The total time is automatically determined
	 * by the player, unless the user overrides it.
	 * @default null
	 */
	FAVideo.prototype.getTotalTime = function() { return this.totalTime; }
	FAVideo.prototype.setTotalTime = function(value) {
		this.setProperty("totalTime", value);
	}
	
 	/**
	 * Specifies the number of seconds the video requires in the buffer to keep playing.
	 * @default 0.1
	 */
	FAVideo.prototype.getBufferTime = function() { return this.bufferTime; }
	FAVideo.prototype.setBufferTime = function(value) {
		this.setProperty("bufferTime", value);
	}
	
 	/**
	 * Determines how videos are scaled.  Valid values are "maintainAspectRatio", "noScale", and "fitToWindow"
	 * @default "maintainAspectRatio"
	 */
	FAVideo.prototype.getVideoScaleMode = function() { return this.videoScaleMode; }
	FAVideo.prototype.setVideoScaleMode = function(value) {
		this.setProperty("videoScaleMode", value);
	}
	
 	/**
	 * Determines how videos are aligned in the player when the player dimensions exceed the 
	 * video dimensions on either axis.
	 * @default "center"
	 */
	FAVideo.prototype.getVideoAlign = function() { return this.videoAlign; }
	FAVideo.prototype.setVideoAlign = function(value) {
		this.setProperty("videoAlign", value);
	}
	
 	/**
	 * Specifies how often the video playhead is updated.  The updateInterval also affects how
	 * often playheadUpdate events are dispatched from the video player. In milliseconds.
	 * @default 1000
	 */
	FAVideo.prototype.getPlayheadUpdateInterval = function() { return this.playheadUpdateInterval; }
	FAVideo.prototype.setPlayheadUpdateInterval = function(value) {
		this.setProperty("playheadUpdateInterval", value);
	}
	
 	/**
	 * Specifies a preview image that is used when autoLoad is set to false.
	 * @default null
	 */
	FAVideo.prototype.getPreviewImagePath = function() { return this.previewImagePath; }
	FAVideo.prototype.setPreviewImagePath = function(value) {
		this.setProperty("previewImagePath", value);	
	}
	
	/**
	 * Specify a theme color
	 * @default null
	 */
	FAVideo.prototype.getThemeColor = function() { return this.themeColor; }
	FAVideo.prototype.setThemeColor = function(value) {
		this.setProperty("themeColor", value);	
	}
	
	/**
	 * Set a path for the flash video controls.
	 * @default "skins/ClearOverAll.swf"
	 */
	FAVideo.prototype.getSkinPath = function() { return this.skinPath; }
	FAVideo.prototype.setSkinPath = function(value) {
		this.setProperty("skinPath", value);	
	}
	
/**
 * Events dispatched by FAVideo instances
 *	> init: The player is initialized
 *	> ready: The video is ready
 *	> progress: The video is downloading. Properties: bytesLoaded, bytesTotal
 *	> playHeadUpdate: The video playhead has moved.  Properties: playheadTime, totalTime
 *	> stateChange: The state of the video has changed. Properties: state
 *	> change: The player has changed.
 *	> complete: Playback is complete.
 *	> metaData: The video has returned meta-data. Properties: infoObject
 *	> cuePoint: The video has passed a cuePoint. Properties: infoObject
 *	> error: An error has occurred.  Properties: error
 */


/* ----------------------------------------------------
 * Callbacks from flash
 *----------------------------------------------------- */
	FAVideo.prototype.update = function(props) {
		for (var n in props) {	
			this[n] = props[n]; // Set the internal property
		}
		props.type = "change";
		this.dispatchEvent(props); // This needs to have an array of changed props.
	}

	FAVideo.prototype.event = function(eventName, evtObj) {
		switch (eventName) {
			case "progress":
				this.bytesLoaded = evtObj.bytesLoaded;
				this.bytesTotal = evtObj.bytesTotal;
				this.dispatchEvent({type:"progress", bytesLoaded:this.bytesLoaded, bytesTotal:this.bytesTotal});
				break;
				
			case "playheadUpdate":
				this.playheadTime = evtObj.playheadTime;
				this.totalTime = evtObj.totalTime;
				this.dispatchEvent({type:"playheadUpdate", playheadTime:this.playheadTime, totalTime:this.totalTime});
				break;
				
			case "stateChange":
				this.state = evtObj.state;
				this.dispatchEvent({type:"stateChange", state:this.state});
				break;
				
			case "change":
				this.dispatchEvent({type:"change"});
				break;
			
			case "complete":
				this.dispatchEvent({type:"complete"});
				break;
				
			case "ready":
				this.dispatchEvent({type:"ready"});
				break;
				
			case "metaData":
				this.dispatchEvent({type:"metaData", infoObject:evtObj});
				break;
				
			case "cuePoint":
				this.dispatchEvent({type:"cuePoint", infoObject:evtObj});
				break;
				
			case "init":
				this.inited = true;
				this.callMethod("setSize", this.width, this.height); // There is a bug in IE innerHTML. Tell flash what size it is.  This will probably not work with liquid layouts in IE.
				this.invalidateProperty("clickToTogglePlay", "skinVisible", "skinAutoHide", "autoPlay", "autoLoad", "volume", "bufferTime", "videoScaleMode", "videoAlign", "playheadUpdateInterval", "skinPath", "previewImagePath");
				this.validateNow();
				this.makeDelayCalls();
				if (this.autoPlay) {
					this.play(this.videoPath);
				} else if (this.autoLoad) {
					this.load(this.videoPath);
				}
				
				this.dispatchEvent({type:"init"});
				break;
		}
	}

/* ----------------------------------------------------
 * Initialization methods
 *----------------------------------------------------- */
	FAVideo.prototype.render = function() {
		var div = this.getElement(this.divName);
		if (div == null) {
			return;
		}
		this.pluginError = false;
		div.innerHTML = this.content;
		
		this.player = this.getElement(this.name);
		this.container = this.getElement(this.name + "_Container");		
		this.rendered = true;
	}
	
	FAVideo.prototype.setOptions = function(options) {
		if (options == null) { return; }
		// Create a hash of acceptable properties
		var hash = ["volume", "skinAutoHide", "skinVisible", "autoPlay","clickToTogglePlay","autoLoad","playHeadTime","totalTime","bufferTime","videoScaleMode","videoAlign","playheadUpdateInterval","skinPath","previewImagePath"];
		for (var i=0;i<hash.length;i++) {
			var prop = hash[i];
			if (options[prop] == null) { continue; }
			this.setProperty(prop, options[prop]);
		}
	}
	
	// Mark out the properties, so they are initialized, and documented.
	FAVideo.prototype.initProperties = function() {
		this.delayCalls = [];
		
		// Properties set by flash player
		this.videoWidth = 0;
		this.videoHeight = 0;
		this.totalTime = 0;
		this.bytesLoaded = 0;
		this.bytesTotal = 0;
		this.state = null;
		
		// Internal properties that match get/set methods
		this.volume = 50;
		this.clickToTogglePlay = true;
		this.autoPlay = true;
		this.autoLoad = true;
		this.skinAutoHide = false;
		this.skinVisible = true;
		this.skinPath = this.DEFAULT_SKIN_PATH;
		this.playheadTime = null;
		this.bufferTime = 0.1;
		this.videoScaleMode = "maintainAspectRatio"; // Also "noScale", "fitToWindow"
		this.videoAlign = "center";
		this.playheadUpdateInterval = 1000;
		this.previewImagePath = null;
		this.themeColor = null
		
		this.firstLoad = true;
		this.pluginError = false;
	}
	
	// Create the HTML to render the player.
	FAVideo.prototype.createPlayer = function() {
		this.requiredMajorVersion = 8;
		this.requiredMinorVersion = 0;
		this.requiredRevision = 0;
		this.content = "";
		var flash = "";
		var hasProductInstall = DetectFlashVer(6, 0, 65);
		var hasRequestedVersion = DetectFlashVer(this.requiredMajorVersion, this.requiredMinorVersion, this.requiredRevision);		
		if (hasProductInstall && !hasRequestedVersion ) {
			var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
			var MMredirectURL = window.location;
			document.title = document.title.slice(0, 47) + " - Flash Player Installation";
			var MMdoctitle = document.title;
			
			flash = this.AC_FL_RunContent(
				"src", "playerProductInstall",
				"FlashVars", "MMredirectURL="+MMredirectURL+"&MMplayerType="+MMPlayerType+"&MMdoctitle="+MMdoctitle+"",
				"width", "100%",
				"height", "100%",
				"align", "middle",
				"id", this.name,
				"quality", "high",
				"bgcolor", "#000000",
				"name", this.name,
				"allowScriptAccess","always",
				"type", "application/x-shockwave-flash",
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
			);
		} else if (hasRequestedVersion) {
			flash = this.AC_FL_RunContent(
				"src", this.DEFAULT_SWF_PATH,
				"width", "100%",
				"height", "100%",
				"align", "middle",
				"id", this.name,
				"quality", "high",
				"bgcolor", "#000000",
				"allowFullScreen", "true", 
				"name", this.name,
				"flashvars","playerID="+this.id+"&initialVideoPath="+this.videoPath,
				"allowScriptAccess","always",
				"type", "application/x-shockwave-flash",
				"pluginspage", "http://www.adobe.com/go/getflashplayer",
				"menu", "true"
			);
		} else {
			flash = "This content requires the <a href=http://www.adobe.com/go/getflash/>Adobe Flash Player</a>.";
			this.pluginError = true;
		}
	
		this.content = "<div id='" + this.name + "_Container" + "' class='FAVideo' style='width:"+this.width+"px;height:"+this.height+"px;'>" + flash + "</div>";
		return this.content;
	}
	
	
/* ----------------------------------------------------
 * Utility methods
 *----------------------------------------------------- */
	FAVideo.prototype.getElement = function(id) {
		var elem;
	   
	   if (navigator.appName.indexOf("Microsoft") != -1) {
			return window[id]
		} else {
			if (document[id]) {
				elem = document[id];
			} else {
				elem = document.getElementById(id);
			}
			return elem;
		}
	}
	
	// Mark a property as invalid, and create a timeout for redraw
	FAVideo.prototype.invalidateProperty = function() {
		if (this.invalidProperties == null) {
			this.invalidProperties = {};
		}
		for (var i=0; i<arguments.length; i++) {
			this.invalidProperties[arguments[i]] = true;
		}
		
		if (this.validateInterval == null && this.inited) {
			var _this = this;
			this.validateInterval = setTimeout(function() { _this.validateNow(); }, 100);
		}
	}
	
	// Updated player with properties marked as invalid.
	FAVideo.prototype.validateNow = function() {
		this.validateInterval = null;
		var props = {};
		for (var n in this.invalidProperties) { props[n] = this[n]; }
		this.invalidProperties = {};
		this.player.callMethod("update", props);
	}
		
	// All public methods use this proxy to make sure that methods called before
	// initialization are properly called after the player is ready.
	FAVideo.prototype.callMethod = function(param1, param2, param3) {
		if (this.inited) {
			this.player.callMethod(param1, param2, param3); // function.apply does not work on the flash object
		} else {
			this.delayCalls.push(arguments);
		}
	}
	
	// Call methods that were made before the player was initialized.
	FAVideo.prototype.makeDelayCalls = function() {
		for (var i=0; i<this.delayCalls.length; i++) {
			this.callMethod.apply(this, this.delayCalls[i]);
		}
	}
	
	// All public properties use this proxy to minimize player updates
	FAVideo.prototype.setProperty = function(property, value) {
		this[property] = value; // Set the internal property
		if (this.inited) {
			this.invalidateProperty(property);
		} // Otherwise, it is already invalidated on init.
	}
	
	// Notify all listeners when a new event is dispatched.
	FAVideo.prototype.dispatchEvent = function(eventObj) {
		if (this.listeners == null) { return; }
		var type = eventObj.type;
		var items = this.listeners[type];
		if (items == null) { return; }
		for (var i=0; i<items.length; i++) {
			var item = items[i];
			item.func.apply(item.target, [eventObj]);
		}
	}

/* ----------------------------------------------------
 * Include ActiveContent methods that we need to
 * override. Avoids collision with the default file
 *----------------------------------------------------- */
	FAVideo.prototype.AC_Generateobj = function(objAttrs, params, embedAttrs) { 
		var str = '';
		if (isIE && isWin && !isOpera) {
			str += '<object ';
			for (var i in objAttrs) {
				str += i + '="' + objAttrs[i] + '" ';
			}
			str += '>';
			for (var i in params) {
				str += '<param name="' + i + '" value="' + params[i] + '" /> ';
			}
			str += '</object>';
		} else {
			str += '<embed ';
			for (var i in embedAttrs) {
				str += i + '="' + embedAttrs[i] + '" ';
			}
			str += '> </embed>';
		}
		return str; // Instead of document.write
	}
	
	FAVideo.prototype.AC_FL_RunContent = function() {
		var ret = AC_GetArgs(arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", "application/x-shockwave-flash");
		return this.AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
	}
	
	
	


/* ----------------------------------------------------
 * FAVideoManager
 *
 * This manages the collection of FAVideo instances on the HTML page. It directs calls from embedded
 * FAVideo SWFs to the appropriate FAVideo instance in Javascript.
 *----------------------------------------------------- */
	FAVideoManager = function() {
		hash = {};
		uniqueID = 1;
	}
	
	FAVideoManager.prototype.addPlayer = function(player) {
		hash[++uniqueID] = player;
		return uniqueID;
	}
	
	FAVideoManager.prototype.getPlayer = function(id) {
		return hash[id];
	}
	
	FAVideoManager.prototype.callMethod = function(id, methodName) {
		var player = FAVideoManagerInstance.getPlayer(id);
		if (player == null) { alert("Player with id: " + id + " not found"); }
		if (player[methodName] == null) { alert("Method " + methodName + " Not found"); }
		
		// Unable to use slice on arguments in some browsers. Iterate instead:
		var args = new Array();
		for (var i=2; i<arguments.length; i++) {
			args.push(arguments[i]);
		}
		player[methodName].apply(player, args);
	}
	
	if (FAVideoManagerInstance == null) {
		var FAVideoManagerInstance = new FAVideoManager();
	}
function showQuotation(){
	document.getElementById('quote4069').innerHTML = Quotation[whichQuotation];
	setTimeout("whichQuotation=Math.round(Math.random()*(Q-1));showQuotation()", 10000);
}
var Quotation=new Array();
Quotation[0] = "You have a right to dispute inaccurate information in your credit report by contacting one or all of the Credit Bureaus directly.";
		Quotation[1] = "You, the consumer, have the right to challenge the accuracy of your credit report at any time.";
		Quotation[2] = "As a result of the Fair Credit Reporting Act, if the Credit Bureaus cannot or do not confirm the validity of the challenged or disputed item within 30 days, they must delete that information from your files immediately.";
		Quotation[3] = "If a Credit Bureau finds an error with an item you challenged/ disputed, they must delete or correct that information in your files immediately.";
		Quotation[4] = "FCRA - \"Fair Credit Reporting Act\"";
		Quotation[5] = "The National Credit Agencies (Credit Bureaus) have information on over 90% of American Adults.";
		Quotation[6] = "Despite efforts to maximize efficiency nearly 8 out of 10 credit reports have errors.  These reports typically have multiple mistakes!";
		Quotation[7] = "FICO stands for \"Fair, Isaac and Company\".  They are the originators of the Credit Scoring Model that the majority of consumers are affected by today.";
		Quotation[8] = "At Equifax, the FICO credit scoring model is called BEACON. At TransUnion, its called EMPIRICA. At Experian, its known as the EXPERIAN/FAIR, ISAAC RISK MODEL.";
		Quotation[9] = "A good credit report can help you lower interest rates, lower payments and save thousands of dollars over the life of a loan! ";
		Quotation[10] = "The leading Credit Bureaus are Private Corporations.  They are not  \"Government Institutions\".  Like other businesses, their main drive is TO MAKE MONEY.";
		Quotation[11] = "Credit Bureaus are required to follow reasonable procedures to ensure that the information they report is accurate. However, mistakes may occur.";
		Quotation[12] = "A Credit Bureau is required by the Fair Credit Reporting Act to remove accurate, negative information from your report only if it is over 7 years old. Bankruptcy information must be removed after 10 years.";
		Quotation[13] = "A Credit Bureau must provide someone to help you interpret the information in your credit file.";
		Quotation[14] = "You are entitled to receive a free copy of your credit report if you have reason to believe that there is inaccurate information in your credit report due to fraud.";
		Quotation[15] = "You are entitled to receive a free copy of your credit report if you are unemployed and intend to apply for employment in the next 60 days or if you are a recipient of public welfare assistance.";
		Quotation[16] = "A credit report contains information on where you live, how much you pay on your bills, and whether you have been sued, arrested, filed for bankruptcy and more.";
		Quotation[17] = "The three most well known nationwide Consumer Reporting Companies (Credit Bureaus) are – Equifax, Experian and Trans Union.";
		Quotation[18] = "Nationwide Consumer Reporting Companies (Credit Bureaus) sell the information in your credit report.  They sell this information to creditors, insurers, employers, and other businesses that use the information to evaluate your applications for credit, insurance, employment, for renting a home and more.";
		Quotation[19] = " The FTC (Federal Trade Commission), on their website, warns us that:<br><br>\"Everyday, companies nationwide appeal to consumers with poor credit histories… and… After you pay them hundreds or thousands of dollars in fees, these companies do nothing to improve your credit report; most simply vanish with your money.\"";
		var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));

window.onload = function() {
var UCSParams = Array();
UCSParams["SYSTEM"]="temp";
UCSParams = UCS(UCSParams,"SYSTEM");
var UCSElement = Array();
jsBrowserId();XMLHttp = createXMLHttpRequest(XMLHttp,"content_2031","loader_2031");XMLHttp = createXMLHttpRequest(XMLHttp,"group_1981"); new Droppable(document.getElementById("block_2032"));document.getElementById("block_2032").xHome = 5;document.getElementById("block_2032").yHome = 0;document.getElementById("block_2032").xExt = 155;document.getElementById("block_2032").yExt = 100;document.getElementById("block_2032").PK = 2032;document.getElementById("block_2032").type = 'freedrag';XMLHttp = createXMLHttpRequest(XMLHttp,"content_2032","loader_2032"); new Freedraggable(document.getElementById("block_4045"));document.getElementById("block_4045").PK = 4045;document.getElementById("block_4045").xHome = 775;document.getElementById("block_4045").yHome = 0;document.getElementById("block_4045").type = 'freedrag';XMLHttp = createXMLHttpRequest(XMLHttp,"content_4045","loader_4045");XMLHttp = createXMLHttpRequest(XMLHttp,"content_4088","loader_4088");XMLHttp = createXMLHttpRequest(XMLHttp,"content_4072","loader_4072");fadeblock_4072_js_slideshow(1000,4000,5000);XMLHttp = createXMLHttpRequest(XMLHttp,"content_4082","loader_4082");XMLHttp = createXMLHttpRequest(XMLHttp,"content_2040","loader_2040");XMLHttp = createXMLHttpRequest(XMLHttp,"content_4076","loader_4076");AJformdata = initformdata(AJformdata,'jsfpcontent_4087');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4087","loader_4087");AJformdata = ajpostupdate(AJformdata,'jsfpcontent_4087','FORMcontent_4087search');AJformdata = ajpostupdate(AJformdata,'jsfpcontent_4087','FORMcontent_4087prev_');AJformdata = initformdata(AJformdata,'jsfpcontent_4074');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4074","loader_4074");AJformdata = initformdata(AJformdata,'jsfpcontent_4182');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4182","loader_4182");AJformdata = initformdata(AJformdata,'jsfpcontent_4543');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4543","loader_4543");XMLHttp = createXMLHttpRequest(XMLHttp,"group_1982");AJformdata = initformdata(AJformdata,'jsfpcontent_4081');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4081","loader_4081");AJformdata = initformdata(AJformdata,'jsfpcontent_2033');XMLHttp = createXMLHttpRequest(XMLHttp,"content_2033","loader_2033");var FLVplayer2033 = new FAVideo("ID2033flashcontent");
FLVplayer2033.setSize(559, 380);FLVplayer2033.load("../../../images/FLV/20051210-w50s.flv");FLVplayer2033.setSkinVisible(false);FLVplayer2033.setSkinPath("include/Modules/ADOBEFLV_VIDEOS/skins/ClearExternalAll.swf");AJformdata = initformdata(AJformdata,'jsfpcontent_4252');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4252","loader_4252");AJformdata = initformdata(AJformdata,'jsfpcontent_4092');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4092","loader_4092");AJformdata = initformdata(AJformdata,'jsfpcontent_4069');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4069","loader_4069");showQuotation();
AJformdata = initformdata(AJformdata,'jsfpcontent_1988');XMLHttp = createXMLHttpRequest(XMLHttp,"content_1988","loader_1988");var so = new SWFObject("images/mp3player/ep_player.swf", "ep_player1988", "301", "16", "9", "#000000");so.addVariable("skin", "images/mp3player/skins/micro_player/skin.xml");so.addVariable("playlist", "images/mp3player/playlists/Homepage.xml");so.addVariable("autoplay", "true");so.addVariable("shuffle", "false");so.addVariable("repeat", "false");so.addVariable("buffertime", "5");so.addVariable("volume", "50");so.write("flashcontent1988");AJformdata = initformdata(AJformdata,'jsfpcontent_4073');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4073","loader_4073");AJformdata = initformdata(AJformdata,'jsfpcontent_4090');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4090","loader_4090");AJformdata = initformdata(AJformdata,'jsfpcontent_4134');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4134","loader_4134"); new Freedraggable(document.getElementById("block_4538"));document.getElementById("block_4538").PK = 4538;document.getElementById("block_4538").xHome = 250;document.getElementById("block_4538").yHome = 100;document.getElementById("block_4538").type = 'freedrag';AJformdata = initformdata(AJformdata,'jsfpcontent_4538');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4538","loader_4538");setTimeout(function(){$S("block_4538").visibility = 'hidden'; $S("block_4538").display = 'none';}, 7000);XMLHttp = createXMLHttpRequest(XMLHttp,"group_1991");AJformdata = initformdata(AJformdata,'jsfpcontent_4077');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4077","loader_4077");AJformdata = initformdata(AJformdata,'jsfpcontent_4086');XMLHttp = createXMLHttpRequest(XMLHttp,"content_4086","loader_4086");$('menu_4086_0_container').mAlign='y';subMenuCreate('menu_4086_1_container', 'menu_4086_2_container', 'menu_4086_1_0', "hover", "y");subMenuCreate('menu_4086_0_container', 'menu_4086_1_container', 'menu_4086_0_0', "hover", "x");subMenuCreate('menu_4086_0_container', 'menu_4086_3_container', 'menu_4086_0_1', "hover", "x");subMenuCreate('menu_4086_0_container', 'menu_4086_4_container', 'menu_4086_0_2', "hover", "x");subMenuCreate('menu_4086_0_container', 'menu_4086_5_container', 'menu_4086_0_3', "hover", "x");subMenuCreate('menu_4086_0_container', 'menu_4086_6_container', 'menu_4086_0_4', "hover", "x");XMLHttp = createXMLHttpRequest(XMLHttp,"group_2030");
var UCSParams = Array();
UCSParams["SYSTEM"]="temp";
UCSParams = UCS(UCSParams,"SYSTEM");
var UCSElement = Array();
Preload_ALLImages();}