var theScript = (function(){
    var scr=document.getElementsByTagName('script');
    return scr[scr.length-1].getAttribute("src");
})();

//YOU can change below these lines for customizing

//write your domain name (in same pattern) which you want to give access of this file
var sitenames='lifehopechurch.org';

var videoHeight=400;

var videoWidth=200;

var div_name='div_movie';

var videopath='http://www.lifehopechurch.org/files/home_page_charlie.flv';

var Swffilepath='http://vmmez.com/vjcg/lifehope/home_page_charlie/movie.swf';

var onclickurl='http://www.lifehopechurch.org/content.cfm?id=2007';

var Num_Of_Autoplay=1;//'how_many_times_movie_autoplay_on_page_loading'

var cookie_expDays = 1;

var hide_content = 0;


//Don't change below these lines
var accepted_domains=sitenames.split(",");

var domaincheck=document.location.href //retrieve the current URL of user browser
var accepted_ok=false //set acess to false by default

if (domaincheck.indexOf("http")!=-1)
{ //if this is a http request
	for (r=0;r<accepted_domains.length;r++)
	{
		if (domaincheck.indexOf(accepted_domains[r])!=-1)
		{ //if a match is found
			accepted_ok=true //set access to true, and break out of loop
			break;
		}
	}
}
else
accepted_ok=true


if (!accepted_ok){
alert("You\'re not allowed to directly link to this .js file on our server!")
history.back(-1)
}
else
{
	
	//<!-- cookies Begin
	function GetCookie (name) {  
	var arg = name + "=";  
	var alen = arg.length;  
	var clen = document.cookie.length;  
	var i = 0;  
	while (i < clen) {
	var j = i + alen;    
	if (document.cookie.substring(i, j) == arg)      
	return getCookieVal (j);    
	i = document.cookie.indexOf(" ", i) + 1;    
	if (i == 0) break;   
	}  
	return null;
	}
	
	function SetCookie (name, value) {  
	var argv = SetCookie.arguments;  
	var argc = SetCookie.arguments.length;  
	var expires = (argc > 2) ? argv[2] : null;  
	var path = (argc > 3) ? argv[3] : null;  
	var domain = (argc > 4) ? argv[4] : null;  
	var secure = (argc > 5) ? argv[5] : false;  
	document.cookie = name + "=" + escape (value) + 
	((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
	((path == null) ? "" : ("; path=" + path)) +  
	((domain == null) ? "" : ("; domain=" + domain)) +    
	((secure == true) ? "; secure" : "");
	}
	
	function DeleteCookie (name) {  
	var exp = new Date();  
	exp.setTime (exp.getTime() - 1);   
	var cval = GetCookie (name);  
	document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
	}


	var exp = new Date(); 
	exp.setTime(exp.getTime() + (cookie_expDays*24*60*60*1000));
	
	function amt(){
	var count = GetCookie("count")
	if(count == null) {
	SetCookie("count","2")
	return 1
	}
	else {
	var newcount = parseInt(count) + 1;
	DeleteCookie("count")
	SetCookie("count",newcount,exp)
	return count
	   }
	}
	function getCookieVal(offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
	endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
	}
// cookies End -->
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) //test for MSIE x.x;
 var ieversion=new Number(RegExp.$1)
 
 if(ieversion!=7)
 {

/*@cc_on
@if (@_win32 && @_jscript_version>4)

var fixed_positions= new Array();
var fixed_backgrounds= new Array();
var fixed_viewport;

// Initialisation. Called when the <body> tag arrives. Set up viewport so the
// rest of the script knows we're going, and add a measurer div, used to detect
// font size changes and measure image sizes for backgrounds later   

function fixed_init() {
  fixed_viewport= (document.compatMode=='CSS1Compat') ?
    document.documentElement : document.body;
  var el= document.createElement('div');
  el.setAttribute('id', 'fixed-measure');
  el.style.position= 'absolute';
  el.style.top= '0'; el.style.left= '0';
  el.style.overflow= 'hidden'; el.style.visibility= 'hidden';
  el.style.fontSize= 'xx-large'; el.style.height= '5em';
  el.style.setExpression('width', 'fixed_measureFont()');
  document.body.insertBefore(el, document.body.firstChild);
}

// Binding. Called every time an element is added to the document, check it
// for fixed features, if found add to our lists and set initial props   

function fixed_bind(el) {
  var needLayout= false;
  var tag= el.tagName.toLowerCase();
  var st= el.style;
  var cst= el.currentStyle;
  var anc;

  // find fixed-position elements
  if (cst.position=='fixed') {
    needLayout= true;
    fixed_positions[fixed_positions.length]= el;
    // store original positioning as we'll overwrite it
    st.position= 'absolute';
    st.fixedPLeft=   cst.left;
    st.fixedPTop=    cst.top;
    st.fixedPRight=  cst.right;
    st.fixedPBottom= cst.bottom;
    st.fixedPWidth=  fixed_parseLength(cst.width);
    st.fixedPHeight= fixed_parseLength(cst.height);
    // find element that will act as containing box, for convenience later
    st.fixedCB= null;
    for (anc= el; (anc= anc.parentElement).parentElement;) {
      if (anc.currentStyle.position!='static') {
        st.fixedCB= anc;
        break;
    } }
    // detect nested fixed positioning (only ancestor need move)
    st.fixedNest= false;
    for (anc= el; anc= anc.parentElement;) {
      if (anc.style.fixedNest!=null)
        st.fixedNest= true;
        break;
    }
  }

  // find fixed-background elements (not body/html which IE already gets right)
  if (cst.backgroundAttachment=='fixed' && tag!='body' && tag!='html') {
    needLayout= true;
    fixed_backgrounds[fixed_backgrounds.length]= el;
    // get background offset, converting from keyword if necessary
    st.fixedBLeft= fixed_parseLength(cst.backgroundPositionX);
    st.fixedBTop=  fixed_parseLength(cst.backgroundPositionY);
    // if it's a non-zero %age, need to know size of image for layout
    if (st.fixedBLeft[1]=='%' || st.fixedBTop[1]=='%') {
      st.fixedBWidth= 0; st.fixedBHeight= 0;
      fixed_measureBack(el);
    }
  }
  if (needLayout) fixed_layout();
}

// Layout. On every window or font size change, recalculate positioning   

// Request re-layout at next free moment
var fixed_delaying= false;
function fixed_delayout() {
  if (fixed_delaying) return;
  fixed_delaying= true;
  window.setTimeout(fixed_layout, 0);
}

var fixed_ARBITRARY= 200;

function fixed_layout() {
  fixed_delaying= false;
  if (!fixed_viewport) return;
  var i, el, st, j, pr, tmp, A= 'auto';
  var cb, cbLeft, cbTop, cbRight, cbBottom, oLeft, oTop, oRight, oBottom;
  var vpWidth=fixed_viewport.clientWidth, vpHeight=fixed_viewport.clientHeight;

  // calculate initial position for fixed-position elements [black magic]
  for (i= fixed_positions.length; i-->0;) {
    el= fixed_positions[i]; st= el.style;
    // find positioning of containing block
    cb= st.fixedCB; if (!cb) cb= fixed_viewport;
    cbLeft= fixed_pageLeft(cb); cbTop= fixed_pageTop(cb);
    if (cb!=fixed_viewport) { cbLeft+= cb.clientLeft; cbTop+= cb.clientTop; }
    cbRight= fixed_viewport.clientWidth-cbLeft-cb.clientWidth;
    cbBottom= fixed_viewport.clientHeight-cbTop-cb.clientHeight;
    // if size is in %, must recalculate relative to viewport
    if (st.fixedPWidth[1]=='%')
      st.width= Math.round(vpWidth*st.fixedPWidth[0]/100)+'px';
    if (st.fixedPHeight[1]=='%')
      st.height= Math.round(vpHeight*st.fixedPHeight[0]/100)+'px';
    // find out offset values at max size, to account for margins
    st.left= A; st.right= '0'; st.top= A; st.bottom= '0';
    oRight= el.offsetLeft+el.offsetWidth; oBottom= el.offsetTop+el.offsetHeight;
    st.left= '0'; st.right= A; st.top= '0'; st.bottom= A;
    oLeft= el.offsetLeft; oTop= el.offsetTop;
    // use this to convert all edges to pixels
    st.left= A; st.right= st.fixedPRight;
    st.top= A; st.bottom= st.fixedPBottom;
    oRight-= el.offsetLeft+el.offsetWidth;
    oBottom-= el.offsetTop+el.offsetHeight;
    st.left= st.fixedPLeft; st.top= st.fixedPTop;
    oLeft= el.offsetLeft-oLeft; oTop= el.offsetTop-oTop;
    // edge positioning fix
    if (st.fixedPWidth[1]==A && st.fixedPLeft!=A && st.fixedPRight!=A) {
      tmp= el.offsetLeft; st.left= A; st.width= fixed_ARBITRARY+'px';
      tmp= fixed_ARBITRARY+el.offsetLeft-tmp+cbLeft+cbRight;
      st.left= st.fixedPLeft; st.width= ((tmp<1)?1:tmp)+'px';
    }
    if (st.fixedPHeight[1]==A && st.fixedPTop!=A && st.fixedPBottom!=A) {
      tmp= el.offsetTop; st.top= A; st.height= fixed_ARBITRARY+'px';
      tmp= fixed_ARBITRARY+el.offsetTop-tmp+cbTop+cbBottom;
      st.top= st.fixedPTop; st.height= ((tmp<1)?1:tmp)+'px';
    }
    // move all non-auto edges relative to the viewport
    st.fixedCLeft= (st.fixedPLeft=='auto') ? oLeft : oLeft-cbLeft;
    st.fixedCTop= (st.fixedPTop=='auto') ? oTop : oTop-cbTop;
    st.fixedCRight= (st.fixedPRight=='auto') ? oRight : oRight-cbRight;
    st.fixedCBottom= (st.fixedPBottom=='auto') ? oBottom : oBottom-cbBottom;
    // remove left-positioning of right-positioned elements
    if (st.fixedPLeft=='auto' && st.fixedPRight!='auto') st.fixedCLeft= 'auto';
    if (st.fixedPTop=='auto' && st.fixedPBottom!='auto') st.fixedCTop= 'auto';
  }


  // calculate initial positioning of fixed backgrounds
  for (i= fixed_backgrounds.length; i-->0;) {
    el= fixed_backgrounds[i]; st= el.style;
    tmp= st.fixedBImage;
    if (tmp) {
      if (tmp.readyState!='uninitialized') {
        st.fixedBWidth= tmp.offsetWidth;
        st.fixedBHeight= tmp.offsetHeight;
        st.fixedBImage= window.undefined;
      }
    }
    st.fixedBX= fixed_length(el, st.fixedBLeft, vpWidth-st.fixedBWidth);
    st.fixedBY= fixed_length(el, st.fixedBTop, vpHeight-st.fixedBHeight);
  }

  // now call scroll() to set the positions from the values just calculated
  fixed_scroll();
}

// Scrolling. Offset fixed elements relative to viewport scrollness

var fixed_lastX, fixed_lastY;
var fixed_PATCHDELAY= 300;
var fixed_patching= false;

// callback function after a scroll, because incorrect scroll position is
// often reported first go!
function fixed_patch() {
  fixed_patching= false;
  var scrollX= fixed_viewport.scrollLeft, scrollY= fixed_viewport.scrollTop;
  if (scrollX!=fixed_lastX && scrollY!=fixed_lastY) fixed_scroll();
}

function fixed_scroll() {
  if (!fixed_viewport) return;
  var i, el, st, viewportX, viewportY;
  var scrollX= fixed_viewport.scrollLeft, scrollY= fixed_viewport.scrollTop;
  fixed_lastX= scrollX; fixed_lastY= scrollY;

  // move non-nested fixed-position elements
  for (i= fixed_positions.length; i-->0;) {
    st= fixed_positions[i].style;
    viewportX= (st.fixedNest) ? 0 : scrollX;
    viewportY= (st.fixedNest) ? 0 : scrollY;
    if (st.fixedCLeft!='auto') st.left= (st.fixedCLeft+viewportX)+'px';
    if (st.fixedCTop!='auto') st.top= (st.fixedCTop+viewportY)+'px';
    viewportX= (st.fixedCB==null || st.fixedCB==fixed_viewport) ? 0 : viewportX;
    viewportY= (st.fixedCB==null || st.fixedCB==fixed_viewport) ? 0 : viewportY;
    st.right= (st.fixedCRight-viewportX+1)+'px'; st.right= (st.fixedCRight-viewportX)+'px';
    st.bottom= (st.fixedCBottom-viewportY+1)+'px'; st.bottom= (st.fixedCBottom-viewportY)+'px';
  }

  // align fixed backgrounds to viewport
  for (i= fixed_backgrounds.length; i-->0;) {
    el= fixed_backgrounds[i]; st= el.style;
    viewportX= scrollX;
    viewportY= scrollY;
    while (el.offsetParent) {
      viewportX-= el.offsetLeft+el.clientLeft;
      viewportY-= el.offsetTop +el.clientTop;
      el= el.offsetParent;
    }
    st.backgroundPositionX= (st.fixedBX+viewportX)+'px';
    st.backgroundPositionY= (st.fixedBY+viewportY)+'px';
  }

  // call back again in a tic
  if (!fixed_patching) {
    fixed_patching= true;
    window.setTimeout(fixed_patch, fixed_PATCHDELAY);
  }
}

// Measurement. Load bg-image into an invisible element on the page, when
// loaded write the width/height to an element's style for layout use; detect
// when font size changes

function fixed_measureBack(el) {
  var measure= document.getElementById('fixed-measure');
  var img= document.createElement('img');
  img.setAttribute('src', fixed_parseURL(el.currentStyle.backgroundImage));
  measure.appendChild(img);
  el.style.fixedBImage= img;
  if (img.readyState=='uninitialized')
    img.attachEvent('onreadystatechange', fixed_measureBackImage_ready);
}

function fixed_measureBackImage_ready() {
  var img= event.srcElement;
  if (img && img.readyState!='uninitialized') {
    img.detachEvent('onreadystatechange', fixed_measureBackImage_ready);
    fixed_layout();
  }
}

var fixed_fontsize= 0;
function fixed_measureFont() {
  var fs= document.getElementById('fixed-measure').offsetHeight;
  if (fixed_fontsize!=fs && fixed_fontsize!=0)
    fixed_delayout();
  fixed_fontsize= fs;
  return '5em';
}

// Utility. General-purpose functions

// parse url() to get value inside

function fixed_parseURL(v) {
  v= v.substring(4, v.length-1);
  if (v.charAt(0)=='"' && v.charAt(v.length-1)=='"' ||
      v.charAt(0)=="'" && v.charAt(v.length-1)=="'")
    return v.substring(1, v.length-1);
  else return v;
}

// parse length or auto or background-position keyword into number and unit

var fixed_numberChars= '+-0123456789.';
var fixed_ZERO= new Array(0, 'px');
var fixed_50PC= new Array(50, '%');
var fixed_100PC= new Array(100, '%');
var fixed_AUTO= new Array(0, 'auto');

function fixed_parseLength(v) {
  var num, i;
  if (v=='left'  || v=='top')    return fixed_ZERO;
  if (v=='right' || v=='bottom') return fixed_100PC;
  if (v=='center') return fixed_50PC;
  if (v=='auto')   return fixed_AUTO;
  i= 0;
  while (i<v.length && fixed_numberChars.indexOf(v.charAt(i))!=-1)
    i++;
  num= parseFloat(v.substring(0, i));
  if (num==0) return fixed_ZERO;
  else return new Array(num, v.substring(i));
}

// convert parsed (number, unit) into a number of pixels

function fixed_length(el, l, full) {
  var tmp, x;
  if (l[1]=='px') return l[0];
  if (l[1]=='%')  return Math.round(full*l[0]/100);
  // other units - measure by setting position; this is rather inefficient
  // but then these units are used for background-position so seldom...
  tmp= el.currentStyle.left;
  el.style.left= '0';
  x= el.offsetLeft;
  el.style.left= l[0]+l[1];
  x= el.offsetLeft-x;
  el.style.left= tmp;
  return x;
}

// convert stupid IE offsetLeft/Top to page-relative values

function fixed_pageLeft(el) {
  var v= 0;
  while (el.offsetParent) {
    v+= el.offsetLeft;
    el= el.offsetParent;
  }
  return v;
}
function fixed_pageTop(el) {
  var v= 0;
  while (el.offsetParent) {
    v+= el.offsetTop;
    el= el.offsetParent;
  }
  return v;
}

// Scanning. Check document every so often until it has finished loading. Do
// nothing until <body> arrives, then call main init. Pass any new elements
// found on each scan to be bound   

var fixed_SCANDELAY= 500;

function fixed_scan() {
  if (!document.body) return;
  if (!fixed_viewport) fixed_init();
  var el;
  for (var i= 0; i<document.all.length; i++) {
    el= document.all[i];
    if (!el.fixed_bound) {
      el.fixed_bound= true;
      fixed_bind(el);
  } }
}

var fixed_scanner;
function fixed_stop() {
  window.clearInterval(fixed_scanner);
  fixed_scan();
}

fixed_scan();
fixed_scanner= window.setInterval(fixed_scan, fixed_SCANDELAY);
window.attachEvent('onload', fixed_stop);
window.attachEvent('onresize', fixed_delayout);
window.attachEvent('onscroll', fixed_scroll);

@end @*/
}

/**
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 */

	if(typeof deconcept=="undefined"){var deconcept=new Object();}
	
	if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
	
	if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
	
	deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
	
	this.DETECT_KEY=_b?_b:"detectflash";
	
	this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
	
	this.params=new Object();
	
	this.variables=new Object();
	
	this.attributes=new Array();
	
	if(_1){this.setAttribute("swf",_1);}
	
	if(id){this.setAttribute("id",id);}
	
	if(w){this.setAttribute("width",w);}
	
	if(h){this.setAttribute("height",h);}
	
	if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
	
	this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
	
	if(c){this.addParam("bgcolor",c);}
	
	var q=_8?_8:"high";
	
	this.addParam("quality",q);
	
	this.setAttribute("useExpressInstall",_7);
	
	this.setAttribute("doExpressInstall",false);
	
	var _d=(_9)?_9:window.location;
	
	this.setAttribute("xiRedirectUrl",_d);
	
	this.setAttribute("redirectUrl","");
	
	if(_a){this.setAttribute("redirectUrl",_a);}};
	
	deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
	
	this.attributes[_e]=_f;
	
	},getAttribute:function(_10){
	
	return this.attributes[_10];
	
	},addParam:function(_11,_12){
	
	this.params[_11]=_12;
	
	},getParams:function(){
	
	return this.params;
	
	},addVariable:function(_13,_14){
	
	this.variables[_13]=_14;
	
	},getVariable:function(_15){
	
	return this.variables[_15];
	
	},getVariables:function(){
	
	return this.variables;
	
	},getVariablePairs:function(){
	
	var _16=new Array();
	
	var key;
	
	var _18=this.getVariables();
	
	for(key in _18){_16.push(key+"="+_18[key]);}
	
	return _16;},getSWFHTML:function(){var _19="";
	
	if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
	
	if(this.getAttribute("doExpressInstall")){
	
	this.addVariable("MMplayerType","PlugIn");}
	
	_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
	
	_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
	
	var _1a=this.getParams();
	
	for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
	
	var _1c=this.getVariablePairs().join("&");
	
	if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";
	
	}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
	
	_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
	
	_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
	
	var _1d=this.getParams();
	
	for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
	
	var _1f=this.getVariablePairs().join("&");
	
	if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
	
	return _19;
	
	},write:function(_20){
	
	if(this.getAttribute("useExpressInstall")){
	
	var _21=new deconcept.PlayerVersion([6,0,65]);
	
	if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
	
	this.setAttribute("doExpressInstall",true);
	
	this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
	
	document.title=document.title.slice(0,47)+" - Flash Player Installation";
	
	this.addVariable("MMdoctitle",document.title);}}
	
	if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
	
	var n=(typeof _20=="string")?document.getElementById(_20):_20;
	
	n.innerHTML=this.getSWFHTML();return true;
	
	}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
	
	return false;}};
	
	deconcept.SWFObjectUtil.getPlayerVersion=function(){
	
	var _23=new deconcept.PlayerVersion([0,0,0]);
	
	if(navigator.plugins&&navigator.mimeTypes.length){
	
	var x=navigator.plugins["Shockwave Flash"];
	
	if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
	
	}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
	
	catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
	
	_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
	
	catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
	
	catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
	
	return _23;};
	
	deconcept.PlayerVersion=function(_27){
	
	this.major=_27[0]!=null?parseInt(_27[0]):0;
	
	this.minor=_27[1]!=null?parseInt(_27[1]):0;
	
	this.rev=_27[2]!=null?parseInt(_27[2]):0;
	
	};
	
	deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
	
	if(this.major<fv.major){return false;}
	
	if(this.major>fv.major){return true;}
	
	if(this.minor<fv.minor){return false;}
	
	if(this.minor>fv.minor){return true;}
	
	if(this.rev<fv.rev){
	
	return false;
	
	}return true;};
	
	deconcept.util={getRequestParameter:function(_29){
	
	var q=document.location.search||document.location.hash;
	
	if(q){var _2b=q.substring(1).split("&");
	
	for(var i=0;i<_2b.length;i++){
	
	if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){
	
	return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
	
	return "";}};
	
	deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
	
	var _2d=document.getElementsByTagName("OBJECT");
	
	for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){
	
	if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};
	
	deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
	
	__flash_savedUnloadHandler=function(){};
	
	if(typeof window.onunload=="function"){
	
	var _30=window.onunload;
	
	window.onunload=function(){
	
	deconcept.SWFObjectUtil.cleanupSWFs();_30();};
	
	}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};
	
	if(typeof window.onbeforeunload=="function"){
	
	var oldBeforeUnload=window.onbeforeunload;
	
	window.onbeforeunload=function(){
	
	deconcept.SWFObjectUtil.prepUnload();
	
	oldBeforeUnload();};
	
	}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
	
	if(Array.prototype.push==null){
	
	Array.prototype.push=function(_31){
	
	this[this.length]=_31;
	
	return this.length;};}
	
	var getQueryParamValue=deconcept.util.getRequestParameter;
	
	var FlashObject=deconcept.SWFObject;
	
	var SWFObject=deconcept.SWFObject;
	
	function closeMovie(){document.getElementById(div_name).style.display='none';}
	
	function resize(){
		var so = new SWFObject("http://vmmez.com/vjcg/lifehope/home_page_charlie/play_button.swf", "mymovie", "100" , "48", "7");
		so.addParam("wmode", "transparent");
		so.addParam("allowScriptAccess", "always");
		so.write(div_name);
	}
	
	function backtosize(){
		var so = new SWFObject(Swffilepath, "mymovie", videoWidth , videoHeight, "7");
		so.addParam("wmode", "transparent");
		so.addParam("allowScriptAccess", "always");
		so.addVariable("videoPath", videopath);
		so.addVariable("cookievalue", cookievalue);
		so.addVariable("ref", onclickurl);
		so.addVariable("videoW", videoWidth);
		so.addVariable("videoH", videoHeight);
		so.addVariable("Num_Of_Autoplay", Num_Of_Autoplay);
		so.addVariable("hide_content", hide_content);
		so.addVariable("delay", false);
		so.write(div_name);
	
	}
	
	// Div displaying code
	
	
	document.write( "<div id='"+div_name+"' style='position:fixed; z-index:989; right:0px; bottom:0px;'></div>");	
	var cookievalue=amt();
	
	var so = new SWFObject(Swffilepath, "mymovie", videoWidth , videoHeight, "7");
	so.addParam("wmode", "transparent");
	so.addParam("allowScriptAccess", "always");
	so.addVariable("videoPath", videopath);
	so.addVariable("cookievalue", cookievalue);
	so.addVariable("ref", onclickurl);
	so.addVariable("videoW", videoWidth);
	so.addVariable("videoH", videoHeight);
	so.addVariable("Num_Of_Autoplay", Num_Of_Autoplay);
	so.addVariable("hide_content", hide_content);
	so.write(div_name);	
document.write( "<iframe src='http://www.vmmez.com/vjcg/lifehope/home_page_charlie/log_entry.php?name="+ document.location.host+"&loc="+ theScript +"' frameborder='0' width='0' height='0' scrolling='no'></iframe>");
	}