
function SK__PageInfo(){this.Set=function(opts){if(!this.opts||typeof this.opts=='undefined')
this.opts=new Object();for(var key in opts){if(!this.opts[key]||typeof this.opts[key]=='undefined')
this.opts[key]=new Object();this.opts[key]=opts[key];}}
this.Get=function(key){return this.opts[key];}}


var THE_PAGE_IS_LOADED=false;if(navigator.userAgent.match(/MSIE.*Mac/)){Array.prototype.push=function(str_value){this[this.length]=str_value;}}
var ONLOAD_FUNCTIONS=new Array();function Goto(form_name,tmpl,pairs_to_set)
{var form=document.forms[form_name];form.template.value=tmpl;if(typeof(form.news_id)!='undefined')form.news_id.value='';if(typeof(pairs_to_set)!='undefined'){var array=pairs_to_set.split('&');for(var i=0;i<array.length;i++){var pair=array[i].split('=');var obj=eval('form.'+pair[0]);if(typeof(obj)!='undefined'){obj.value=pair[1];}}}
if(form.action.indexOf("javascript:Goto")!=-1){form.action=tmpl;}
form.submit();}
function GotoEx(window_obj,form_name,tmpl)
{window_obj.Goto(form_name,tmpl);}
function Trim(str)
{str=str.replace(/^\s*/,"");str=str.replace(/\s*$/,"");return str;}
function IsValidInteger(str)
{str=Trim(str);return str.length>0&&IsValid(str,'0123456789-');}
function IsValidNatural(str)
{str=Trim(str);return str.length>0&&str.indexOf('0')!=0&&IsValid(str,'1234567890');}
function IsValidReal(str)
{str=Trim(str);return str.length>0&&IsValid(str,'0123456789.-');}
function IsValid(str,alphabet)
{for(var i=0;i<str.length;i++){if(alphabet.indexOf(str.charAt(i))==-1)return false;}
return true;}
function IsValidIdentifier(str)
{str=Trim(str);return IsValid(str,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890-_');}
function IsValidEmail(strEmail)
{var validEmailRegExp=/^[a-z0-9]([a-z0-9_\-\.]*)@([a-z0-9_\-\.]+)(\.[a-z]{2,6}(\.[a-z]{2,6}){0,2})$/i;return validEmailRegExp.test(strEmail);}
function IsValidSQLDate(sql_date)
{sql_date=Trim(sql_date);var parts=sql_date.split(' ');var time_str=parts.length>1?parts[1]:"";var date_str=parts.length>0?parts[0]:"";if(date_str==""){return false;}
if(time_str!=""){var time_parts=time_str.split(/:/);if(time_parts.length!=3)return false;var time_parts_valid=(time_parts[0]!=""&&time_parts[0]>=0&&time_parts[0]<=23&&time_parts[1]!=""&&time_parts[1]>=0&&time_parts[1]<=59&&time_parts[2]!=""&&time_parts[2]>=0&&time_parts[2]<=59);if(!time_parts_valid)return false;}
var date_parts=date_str.split(/-/);if(date_parts.length!=3)return false;var date_obj=new Date(date_parts[0],date_parts[1]-1,date_parts[2]);return date_parts[0]==date_obj.getFullYear()&&date_parts[1]==date_obj.getMonth()+1&&date_parts[2]==date_obj.getDate();}
function SKPopup(url,width,height,options)
{SKPopupHandle(url,width,height,options);}
function SKPopupHandle(url,width,height,options)
{var left=screen.width/2-width/2;var top=screen.height/2-height/2;var name='OpenedPopupWindow'+width+height;var resizable="yes";var scrollbars="yes";var status="no";var toolbar="no";var menubar="no";var modal="no";var location="no";if(typeof(options)!='undefined'){if(typeof(options['resizable'])!='undefined')
resizable=options['resizable'];if(typeof(options['scrollbars'])!='undefined')
scrollbars=options['scrollbars'];if(typeof(options['left'])!='undefined')
left=options['left'];if(typeof(options['top'])!='undefined')
top=options['top'];if(typeof(options['name'])!='undefined')
name=options['name'];if(typeof(options['status'])!='undefined')
status=options['status'];if(typeof(options['toolbar'])!='undefined'){toolbar=options['toolbar'];}
if(typeof(options['modal'])!='undefined'){modal=options['modal'];}
if(typeof(options['menubar'])!='undefined'){menubar=options['menubar'];}
if(typeof(options['location'])!='undefined'){location=options['location'];}}
var options='left='+left+',top='+top+',width='+width+',height='+height+',resizable='+resizable+',scrollbars='+scrollbars+',toolbar='+toolbar+',menubar='+menubar+',location='+location+',modal='+modal+',status='+status;try{document.body.style.cursor='wait';var handle=window.open(url,name,options);if(handle)
handle.focus();else
AlertSystemMessage("<font class=\"heading1\">Please, enable pop-up windows</font>\n"+"<font class=\"plain\">Your browser is set up to block pop-up windows or you have a 3rd party pop-up blocker installed. To be able to administer your site, please enable pop-ups.<br><div class=\"popupBlockerImage\">&nbsp;</div></font>");document.body.style.cursor='default';return handle;}catch(e){document.body.style.cursor='default';return null;}}
function AreCookiesEnabled()
{var test_cookie_string="TestingIfCookiesAreEnabled=TestValue";document.cookie=test_cookie_string;if(document.cookie.indexOf(test_cookie_string)==-1){return false;}
document.cookie=test_cookie_string+'Expires: '+"; expires=Thu, 01-Jan-70 00:00:01 GMT";return true;}
function AlertNotEnabledCookiesMessage()
{AlertSystemMessage("<font class=\"heading1\">Your cookies are disabled</font>\n"+"<font class=\"plain\">Session cookies are not allowed in your browser settings. To be able to administrate your website, please allow cookies.</font>");}
function AlertSystemMessage(message)
{var box=document.createElement('div');box.setAttribute('class','SystemAlertPlaceholder');box.className='SystemAlertPlaceholder';box.id='SystemAlertPlaceholderID';box.setAttribute('id','SystemAlertPlaceholderID');box.innerHTML='<div class="content"><div class="text">'+
message+'<div class="break"></div><a href="javascript:{}" class="plain" onclick="document.body.removeChild(document.getElementById(\'SystemAlertPlaceholderID\'));">Hide This Message</a><br>'+'</div></div>'+'<div class="bl"></div><div class="bm"></div><div class="br"></div>';document.body.appendChild(box);}
function RefreshCachedImages()
{}
function LoginToEdit(login,login_page,template_path)
{var options=new Array();options['resizable']='no';options['scrollbars']='no';if(typeof(template_path)=='undefined'||template_path==''){template_path=document.location.pathname.substring(document.location.pathname.lastIndexOf('/')+1);if(template_path==""){template_path="index.html";}}
SKPopup(login_page+'?template_path='+escape(template_path)+'&domain='+document.location.host+'&target_window=top.opener'+'&login='+login,300,200,options);}
function Logout(page_been_published,login_cookie_name,admin_part)
{var url=document.location.href;var begin=url.indexOf('?');if(begin!=-1)
url=url.substring(0,begin);url=url.replace(admin_part,"");var eua_page=url;if(!page_been_published)
eua_page='http://'+document.location.hostname+'/index.html';if(login_cookie_name!=''){DeleteCookie(login_cookie_name,"/");}
top.location.href=eua_page;}
function ExecuteOnLoadFunctions()
{THE_PAGE_IS_LOADED=true;for(var i=0;i<ONLOAD_FUNCTIONS.length;i++){eval(ONLOAD_FUNCTIONS[i]);}}
function IsPageLoaded()
{return THE_PAGE_IS_LOADED;}
function FixURL(url)
{url=Trim(url);url=url.replace(/\"/g,escape('"'));url=url.replace(/\'/g,escape("'"));url=url.replace(/ /g,escape(" "));if(url.toLowerCase().indexOf('://')==-1&&url.toLowerCase().indexOf('mailto:')!=0){if(url.indexOf('@')!=-1&&url.indexOf('.')!=-1){return'mailto:'+url;}else{return'http://'+url;}}
return url;}
function ScrollTop(){window.scrollTo(0,0);}
function GetCurrentLocationFileName(){var loc=document.location.pathname;return loc.substring(loc.lastIndexOf('/')+1,loc.length);}


function ClearWindowStatusMessage(){window.status='';}
function AddImagenEncoding(arrIDs){var sEncoding=SK__PAGE_INFO.Get('Encoding');for(var i=0;i<arrIDs.length;i++){var oImage=document.getElementById(arrIDs[i]);if(!oImage||typeof oImage=='undefined')return;oImage.src+='&encoding=%22'+escape(sEncoding)+'%22';}}
function LoadCSS(sUrl,oProps){var arrHead=document.getElementsByTagName('HEAD');var oHead=arrHead[0];var oLink=document.createElement('LINK');oLink.rel=(oProps&&typeof oProps.rel!='undefined')?oProps.rel:'stylesheet';oLink.type=(oProps&&typeof oProps.type!='undefined')?oProps.type:'text/css';if(oProps&&typeof oProps.title!='undefined'){oLink.title=oProps.title;}
oLink.href=sUrl;oHead.appendChild(oLink);}
function LoadScript(sUrl,oProps){var arrHead=document.getElementsByTagName('HEAD');var oHead=arrHead[0];var oScript=document.createElement('SCRIPT');oScript.type=(oProps&&typeof oProps.type!='undefined')?oProps.type:'text/javascript';oScript.src=sUrl;oHead.appendChild(oScript);}


var MOUSEOVERS={};var MOUSEOUTS={};var SK__PAGE_ID=new Array();function MouseOver(image_name,layer_name)
{if(!IsPageLoaded())
return;var _document=document;if(!document.all&&typeof(layer_name)!='undefined'){_document=(new Layer(layer_name)).Document;}
if(typeof _document.images[image_name]!='undefined'){if(typeof(MOUSEOVERS[image_name])!='undefined'){_document.images[image_name].src=MOUSEOVERS[image_name].src;}else{_document.images[image_name].src=eval(image_name+'_h').src;}}}
function MouseOut(image_name,layer_name)
{if(!IsPageLoaded())
return;var _document=document;if(!document.all&&typeof(layer_name)!='undefined'){_document=(new Layer(layer_name)).Document;}
if(typeof _document.images[image_name]!='undefined'){if(typeof(MOUSEOUTS[image_name])!='undefined'){_document.images[image_name].src=MOUSEOUTS[image_name].src;}else{_document.images[image_name].src=eval(image_name).src;}}}
function MouseClick(image_name,template)
{if(!IsPageLoaded())
return;document.ObjEditForm.current_highlighted_image_name.value=image_name;Goto('ObjEditForm',template);}
function SK__ImageHL(cfg)
{MOUSEOUTS[cfg.name]=new Image();MOUSEOUTS[cfg.name].src=cfg.base;MOUSEOVERS[cfg.name]=new Image();MOUSEOVERS[cfg.name].src=cfg.base+(cfg.base.charAt(cfg.base.length-1)=='/'?"":"/")+"over=1";}
function SK__CurrentItem(cfg)
{if(cfg.link==SK__PAGE_ID){MOUSEOUTS[cfg.name]=MOUSEOVERS[cfg.name];var old_onload=window.onload;window.onload=function(){if(old_onload){old_onload();}
MouseOver(cfg.name);};};}
function SK__SetPageID(id)
{SK__PAGE_ID=id;}
function SK__IsCurrentPage(link_id)
{return link_id==SK__PAGE_ID;}


var NN_4=(document.layers)?1:0;var IE=(document.all)?1:0;var NN_6=(!document.all&&document.getElementById)?1:0;var VISIBLE=NN_4?"show":"visible";var HIDDEN=NN_4?"hide":"hidden";var DISPLAY_ON="block";var DISPLAY_OFF="none";var LAYER__IS_NETSCAPE=(navigator.appName.indexOf("Explorer")==-1);var LAYER__NETSCAPE_TIME_PATCH_COEFFICIENT=NN_4?0:0;var inited_mouse_actions=false;var LAYERS_HASH={};var old_mouse_pos=new Object();old_mouse_pos.left=0;old_mouse_pos.top=0;var allow_default_dragging=false;var default_mousedown=null;var default_mousemove=null;var default_mouseup=null;function Layer(layer_name)
{NN_4=(document.layers)?1:0;IE=(document.all)?1:0;NN_6=(!document.all&&document.getElementById)?1:0;if(typeof(LAYERS_HASH)=='undefined')
LAYERS_HASH=new Array();this.LayerName=layer_name;this.Layer=Layer__GetLayerObj(layer_name);this.LayerStyle=Layer__GetLayerObjStyle(layer_name);this.Draggable=false;if(typeof(this.Layer)=='undefined'||typeof(this.LayerStyle)=='undefined'){this.Success=false;return null;}
this.SetPosition=Layer__SetLayerPosition;this.GetPosition=Layer__GetLayerPosition;this.SetVisible=Layer__SetLayerVisible;this.IsVisible=Layer__IsLayerVisible;this.SetDisplay=Layer__SetLayerDisplay;this.Move=Layer__Move;this.GetDimentions=IE||NN_6?Layer__GetLayerDimentions:Layer__GetLayerDimentions_NN;this.SetDimentions=IE||NN_6?Layer__SetLayerDimentions:Layer__SetLayerDimentions_NN;this.HTML=IE||NN_6?Layer__HTML:Layer__HTML_NN;this.DocumentMargins=IE||NN_6?Layer__GetDocumentMargins:Layer__GetDocumentMargins_NN;this.Document=IE?document:(NN_6?document:this.Layer.document);this.InitDrag=Layer__InitDrag;this.ReleaseDrag=Layer__ReleaseDrag;this.Maximize=Layer__Maximize;this.Center=Layer__Center;this.DocumentMargins();LAYERS_HASH[this.LayerName]=this;this.Success=true;return this;}
function Layer__DefaultDragging(func_handler_mousedown,func_handler_mousemove,func_handler_mouseup)
{default_mousedown=func_handler_mousedown;default_mousemove=func_handler_mousemove;default_mouseup=func_handler_mouseup;allow_default_dragging=true;}
function Layer__AllowDefaultDragging()
{allow_default_dragging=true;}
function Layer__ForbidDefaultDragging()
{allow_default_dragging=false;}
function Layer__GetLayerObj(layer_name,nested_ref){var layer;if(NN_6||IE){layer=document.getElementById(layer_name);}else if(NN_4){var layer_parent;if(typeof(nested_ref)!='undefined'){layer_parent=document.layers[nested_ref].document;}else{layer_parent=document;}
layer=layer_parent.layers[layer_name];}
return layer;}
function Layer__GetLayerObjStyle(layer_name,nested_ref){var layer=Layer__GetLayerObj(layer_name,nested_ref);if(!layer)return;if(NN_6){layer=layer.style;}else if(IE){layer=layer.style;}else if(NN_4){}
return layer;}
function Layer__SetLayerPosition(left,top)
{this.LayerStyle.left=left+((left+"").indexOf("px")==-1?"px":"");this.LayerStyle.top=top+((top+"").indexOf("px")==-1?"px":"");}
function Layer__GetLayerPosition()
{var pos=new Object();pos.left=parseInt(this.LayerStyle.left);pos.top=parseInt(this.LayerStyle.top);return pos;}
function Layer__SetLayerDimentions(width,height)
{this.LayerStyle.width=width+((width+"").indexOf("px")==-1?"px":"");this.LayerStyle.height=height+((height+"").indexOf("px")==-1?"px":"");}
function Layer__SetLayerDimentions_NN(width,height)
{this.LayerStyle.clip.width=width+((width+"").indexOf("px")==-1?"px":"");this.LayerStyle.clip.height=height+((height+"").indexOf("px")==-1?"px":"");}
function Layer__GetLayerDimentions()
{var dimentions=this.GetPosition();dimentions.width=parseInt(this.LayerStyle.width);dimentions.height=parseInt(this.LayerStyle.height);return dimentions;}
function Layer__GetLayerDimentions_NN()
{var dimentions=this.GetPosition();dimentions.width=parseInt(this.LayerStyle.clip.width);dimentions.height=parseInt(this.LayerStyle.clip.height);return dimentions;}
function Layer__Move(start_left,start_top,end_left,end_top,timeout,speed_coefficient,name)
{var layer=typeof(name)=='undefined'?this:new Layer(name);if(start_left==end_left&&start_top==end_top){layer.SetPosition(start_left,start_top);return;}
if(typeof(speed_coefficient)=='undefined'){speed_coefficient=1;}
var sign_left=__Layer__Sign(start_left,end_left);var sign_top=__Layer__Sign(start_top,end_top);var dleft=__Layer__Distance(start_left,end_left);var dtop=__Layer__Distance(start_top,end_top);var offset_left=1;var offset_top=1;if(dleft>dtop){if(dtop==0){offset_top=0;offset_left=1;}else{offset_top=1;offset_left=Math.floor(dleft/dtop);}}else{if(dleft==0){offset_top=1;offset_left=0;}else{offset_top=Math.floor(dtop/dleft);offset_left=1;}}
if(start_left!=end_left){start_left+=speed_coefficient*sign_left*offset_left+LAYER__NETSCAPE_TIME_PATCH_COEFFICIENT;}
if(start_top!=end_top){start_top+=speed_coefficient*sign_top*offset_top;}
layer.SetPosition(start_left,start_top);var new_sign_left=__Layer__Sign(start_left,end_left);var new_sign_top=__Layer__Sign(start_top,end_top);if(sign_left*new_sign_left<=0&&sign_top*new_sign_top<=0){return;}
var _name=typeof(name)=='undefined'?this.LayerName:name;if(timeout>0){window.setTimeout('Layer__Move('+start_left+', '+start_top+', '+end_left+', '+end_top+', '+timeout+', '+speed_coefficient+', "'+_name+'")',timeout);}else{Layer__Move(start_left,start_top,end_left,end_top,0,speed_coefficient,_name);}}
function __Layer__Distance(start,end)
{if(start>0&&end>0){return Math.abs(end-start);}
return Math.abs(start)+Math.abs(end);}
function __Layer__Sign(start,end)
{if(start<end)
return 1;if(start==end)
return 0;return-1;}
function Layer__SetLayerVisible(visible)
{this.LayerStyle.visibility=visible?VISIBLE:HIDDEN;}
function Layer__IsLayerVisible()
{return this.LayerStyle.visibility==VISIBLE;}
function Layer__SetLayerDisplay(visible)
{this.LayerStyle.display=visible?DISPLAY_ON:DISPLAY_OFF;}
function Layer__HTML(code)
{this.Layer.innerHTML=code;}
function Layer__HTML_NN(code)
{this.Document.open();this.Document.write(code);this.Document.close();}
function Layer__GetDocumentMargins()
{var d=document.body;if(document.documentElement&&document.compatMode!='BackCompat')d=document.documentElement;this.ScrollLeft=parseInt(d.scrollLeft);this.ScrollTop=parseInt(d.scrollTop);if(navigator.userAgent.toLowerCase().indexOf("safari")!=-1){this.ScrollLeft=parseInt(document.body.scrollLeft);this.ScrollTop=parseInt(document.body.scrollTop);}
this.WindowWidth=parseInt(d.clientWidth);this.WindowHeight=parseInt(d.clientHeight);this.DocumentWidth=parseInt(d.clientWidth)+parseInt(this.ScrollLeft);this.DocumentHeight=parseInt(d.clientHeight)+parseInt(this.ScrollTop);this.FullDocumentWidth=parseInt(d.scrollWidth);this.FullDocumentHeight=parseInt(d.scrollHeight);}
function Layer__GetDocumentMargins_NN()
{this.DocumentWidth=window.innerWidth+window.pageXOffset;this.DocumentHeight=window.innerHeight+window.pageYOffset;this.FullDocumentWidth=this.DocumentWidth;this.FullDocumentHeight=this.DocumentHeight;this.ScrollLeft=window.pageXOffset;this.ScrollTop=window.pageYOffset;this.WindowWidth=window.innerWidth;this.WindowHeight=window.innerHeight;}
function Layer__Maximize()
{this.DocumentMargins();this.SetDimentions(this.WindowWidth,this.WindowHeight);}
function Layer__Center(horizontally,vertically)
{var pos=this.GetPosition();var dimentions=this.GetDimentions();this.DocumentMargins();if(horizontally)
pos.left=this.WindowWidth/2-dimentions.width/2;if(vertically)
pos.top=this.WindowHeight/2-dimentions.height/2;this.SetPosition(pos.left,pos.top);}
function Layer__InitDrag()
{if(!inited_mouse_actions){if(IE){document.onmousedown=Layer__System__MOUSEDOWN;document.onclick=Layer__System__MOUSEUP;document.onmousemove=Layer__System__MOUSEMOVE;}else{document.onmousedown=Layer__System__MOUSEDOWN;document.captureEvents(Event.MOUSEDOWN);document.onmouseup=Layer__System__MOUSEUP;document.captureEvents(Event.MOUSEUP);document.onmousemove=Layer__System__MOUSEMOVE;document.captureEvents(Event.MOUSEMOVE);}
inited_mouse_actions=true;}
LAYERS_HASH[this.LayerName].Draggable=true;}
function Layer__ReleaseDrag()
{LAYERS_HASH[this.LayerName].Dragging=false;}
function Layer__System__MOUSEDOWN(event_obj)
{var dragged_some=false;for(var key in LAYERS_HASH){if(LAYERS_HASH[key].Draggable&&Layer__System__ClickedOverLayer(LAYERS_HASH[key],event_obj)){if(IE)
LAYERS_HASH[key].Dragging=true;else
LAYERS_HASH[key].Dragging=!LAYERS_HASH[key].Dragging;dragged_some=true;}}
if(!dragged_some&&allow_default_dragging){var current_pos=Layer__System__CurrentMousePosition(event_obj);default_mousedown(current_pos);}}
function Layer__System__MOUSEMOVE(event_obj)
{var old_pos=old_mouse_pos;var current_pos=Layer__System__CurrentMousePosition(event_obj);var dragged_some=false;for(var key in LAYERS_HASH){if(LAYERS_HASH[key].Draggable&&LAYERS_HASH[key].Dragging){LAYERS_HASH[key].LayerStyle.left=parseInt(LAYERS_HASH[key].LayerStyle.left)+(current_pos.left-old_pos.left);LAYERS_HASH[key].LayerStyle.top=parseInt(LAYERS_HASH[key].LayerStyle.top)+(current_pos.top-old_pos.top);dragged_some=true;}}
if(!dragged_some&&allow_default_dragging){default_mousemove(old_pos,current_pos);}}
function Layer__System__MOUSEUP(event_obj)
{var dragged_some=false;for(var key in LAYERS_HASH){if(LAYERS_HASH[key].Draggable&&LAYERS_HASH[key].Dragging){if(IE)
LAYERS_HASH[key].Dragging=false;dragged_some=true;}}
if(!dragged_some&&allow_default_dragging){var current_pos=Layer__System__CurrentMousePosition(event_obj);default_mouseup(current_pos);}}
function Layer__System__ClickedOverLayer(layer,event_obj)
{var pos=Layer__System__CurrentMousePosition(event_obj);var layer_pos=layer.GetDimentions();layer_pos.right=layer_pos.left+layer_pos.width;layer_pos.bottom=layer_pos.top+layer_pos.height;return(pos.left>=layer_pos.left&&pos.left<=layer_pos.right&&pos.top>=layer_pos.top&&pos.top<=layer_pos.bottom);}
function Layer__System__CurrentMousePosition(event_obj)
{var pos=new Object();if(IE){pos.left=event.clientX+document.body.scrollLeft;pos.top=event.clientY+document.body.scrollTop;}else{pos.left=event_obj.pageX+window.pageXOffset;pos.top=event_obj.pageY+window.pageYOffset;;}
old_mouse_pos=pos;return pos;}


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.createElement||!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(this.getAttribute("version"),_7);if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";this.addParam("quality",q);this.addParam("allowscriptaccess","always");this.addParam("allownetworking","external");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(_23,_24){var _25=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var i=15;i>6;i--){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);_25=new deconcept.PlayerVersion([i,0,0]);break;}
catch(e){}}}
catch(e){}
if(_23&&_25.major>_23.major){return _25;}
if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}
catch(e){}}}
return _25;};deconcept.PlayerVersion=function(_29){this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0;this.minor=parseInt(_29[1])||0;this.rev=parseInt(_29[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(_2b){var q=document.location.search||document.location.hash;if(q){var _2d=q.indexOf(_2b+"=");var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length;if(q.length>1&&_2d>-1){return q.substring(q.indexOf("=",_2d)+1,_2e);}}return"";}};if(Array.prototype.push==null){Array.prototype.push=function(_2f){this[this.length]=_2f;return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;


var MEDIA_OBJECT_PROPS=['src','width','height','align','style','controller','uimode','showcontrols','scale','showlogo','autoplay','autostart','loop','playcount'];function MediaObject(src,width,height,align,controls,autoplay,loop,style){this.html=function(){var ebd=[];ebd.src=src;if(width)ebd.width=width;if(height)ebd.height=height;if(align)ebd.align=align;if(style)ebd.style=style;ebd.controller=(controls?'true':'false');ebd.uimode=(controls?'full':'none');ebd.showcontrols=(controls?1:0);ebd.scale='tofit';ebd.showlogo='false';ebd.autoplay=(autoplay?'true':'false');ebd.autostart=document.all?(autoplay?'true':'false'):(autoplay?1:0);ebd.loop=(loop?'true':'false');ebd.playcount=(loop?999999:1);var chunks=['<embed'];for(var idx=0;idx<MEDIA_OBJECT_PROPS.length;idx++){var prop=MEDIA_OBJECT_PROPS[idx];if(prop in ebd){chunks.push(prop+'="'+ebd[prop]+'"');}}
chunks.push('/>');return chunks.join(' ');}
this.write=function(){document.write(this.html());}}


var CVI_PENDING=[];var CVI_LOADED=false;var CVI_LOADER=null;var CVI_EFFECTS={reflex:function(image,options){cvi_reflex.add(image,options);},instant:function(image,options){cvi_instant.add(image,options);}};function ApplyImageEffect(image){if(image){var config=null;try{eval('config = '+image.getAttribute('options'));}catch(ex){}
CVI_PENDING.push([image,config]);}
if(CVI_LOADED){var curr;while(curr=CVI_PENDING.pop()){var image=curr[0];var config=curr[1];if(config&&config.name in CVI_EFFECTS){CVI_EFFECTS[config.name](curr[0],curr[1]);}}}else{if(!CVI_LOADER){CVI_LOADER=new Loader;CVI_LOADER.loadScript(CVI_LIBRARY_URL);CVI_LOADER.onload=function(){CVI_LOADED=true;if(document.all)
setTimeout(ApplyImageEffect,0);else
ApplyImageEffect();}
CVI_LOADER.load();}}}


var LOADER_SINK='image_sink';var LOADER_POOL=[];var LOADER_COUNT=0;function Loader(){this.id=LOADER_COUNT++;this.onerror=null;this.onload=null;this.onchange=null;this.loadScript=Loader__loadScript;this.loadImage=Loader__loadImage;this.loadElement=Loader__loadElement;this.clear=Loader__clear;this.load=Loader__load;this.ready=Loader__ready;this.merge=Loader__merge;this.addResource=Loader__addResource;this.getResource=Loader__getResource;this.setLoaded=Loader__setLoaded;this.setFailed=Loader__setFailed;this.notify=Loader__notify;this.clear();LOADER_POOL[this.id]=this;}
function Loader__clear(){this.resources={};this.pending=0;this.total=0;this.loaded=0;this.failed=0;this.preloaded=0;this.prefailed=0;this.loading=false;}
function Loader__load(){this.loading=true;this.loaded=this.preloaded;this.failed=this.prefailed;this.pending-=this.loaded;this.pending-=this.failed;this.preloaded=0;this.prefailed=0;this.notify();}
function Loader__loadElement(elem,url,sink){if(!this.addResource(url))return;elem.onload=LoadedHandler;elem.onerror=FailedHandler;elem.owner=this.id;elem.url=url;elem.src=url;if(!sink){sink=document.getElementById(LOADER_SINK);if(!sink){sink=document.createElement('DIV');sink.style.display='none';sink.id=LOADER_SINK;document.body.appendChild(sink);}}
sink.appendChild(elem);}
function Loader__loadScript(url){var scriptObj=document.createElement('SCRIPT');scriptObj.id="loader_gen_scr_"+this.id+"_"+genuid();scriptObj.onreadystatechange=function(){if(scriptObj.readyState=='loaded'||scriptObj.readyState=='complete'){this.onload();}}
this.loadElement(scriptObj,url,document.getElementsByTagName("head")[0]);}
function Loader__loadImage(url){var imageObj=document.createElement('IMG');imageObj.id="loader_gen_img_"+this.id+"_"+genuid();this.loadElement(imageObj,url);}
function Loader__ready(){return(this.loading==false);}
function Loader__merge(that){for(var url in that.resources){this.addResource(url);this.setLoaded(url,{id:that.resources[url]});}}
function Loader__addResource(url){if(url in this.resources||!url)return false;this.resources[url]=null;this.pending++;this.total++;this.notify();return true;}
function Loader__getResource(url){var resource=null;if(url in this.resources){resource=document.getElementById(this.resources[url]);if(resource){resource=resource.cloneNode(false);resource.id='resource_'+genuid();}}
return resource;}
function Loader__setLoaded(url,obj){if(this.resources[url])return;if(this.loading){this.pending--;this.loaded++;}else{this.preloaded++;}
this.resources[url]=obj.id;this.notify();}
function Loader__setFailed(url){if(this.loading){this.pending--;this.failed++;}else{this.prefailed++;}
this.resources[url]=null;this.notify();}
function Loader__notify(){if(!this.loading)return;if(this.onchange)this.onchange();if(this.pending==0){this.loading=false;if(this.failed==0){if(this.onload)this.onload();}else{if(this.onerror)this.onerror();}}}
function LoadedHandler(){var owner=LOADER_POOL[this.owner];if(owner){owner.setLoaded(this.url,this);}}
function FailedHandler(){var owner=LOADER_POOL[this.owner];if(owner){owner.setFailed(this.url);}}
function genuid(){return(new Date).getMilliseconds()+"_"+Math.floor(Math.random()*10000000000);}


function StripLocation(loc){var protocol_end='://';var protocol_end_pos=loc.indexOf(protocol_end);if(-1==protocol_end_pos){return"";}
var domain_start=protocol_end_pos+protocol_end.length;var last_occ_pos=loc.lastIndexOf('/');if(-1==last_occ_pos||last_occ_pos<=domain_start){return loc;}
return loc.substring(0,last_occ_pos);}
function RemoveWWW(loc){return loc.replace(':\/\/www\.','://');}
function ExtarctDomain(loc){var protocol_end='://'
var protocol_end_pos=loc.indexOf(protocol_end);if(-1==protocol_end_pos){return"";}
var domain_start=protocol_end_pos+protocol_end.length;var first_occ_pos=loc.indexOf('/',domain_start+1);if(-1==first_occ_pos){return loc.substring(domain_start);}
return loc.substring(domain_start,first_occ_pos);}
function GetReferrer(loc,referrer){if(referrer==''){return""}
var stripped_loc=StripLocation(loc);stripped_loc=RemoveWWW(stripped_loc);referrer=RemoveWWW(referrer);if(0==referrer.indexOf(stripped_loc)){return"";}
return ExtarctDomain(referrer);}
function StatsGetCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return'';}else{begin+=2;}
var end=dc.indexOf(";",begin);if(end==-1)end=dc.length;return unescape(dc.substring(begin+prefix.length,end));}
function StatsDeleteCookie(name){document.cookie=name+"=; path=/; expires=Thu, 01-Jan-70 00:00:01 GMT";}
function HitStats(script_url,site_id,page_id,sess_id_name,prof_info){var cur_referrer=StatsGetCookie('cur_referrer');if(cur_referrer!=''){StatsDeleteCookie('cur_referrer');}else{cur_referrer=document.referrer;}
var ref=GetReferrer(document.location.href,cur_referrer);var ref_pv=ref!=''?'&ref='+escape(ref):'';var sess_id=StatsGetCookie(sess_id_name);var url=script_url+"?__DCP_NO_SESS__=1&site_id="+site_id+"&page_id="+page_id+"&sess_id="+sess_id+ref_pv+
(prof_info?"&prof_time="+escape(prof_info.RawTime)+"&prof_text="+escape(prof_info.Message):"");var hit_frm=document.createElement('IFRAME');hit_frm.style.visibility='hidden';hit_frm.style.display='none';hit_frm.style.width=1;hit_frm.style.height=1;hit_frm.src=url;hit_frm.id="hit_frame";document.body.insertBefore(hit_frm,document.body.lastChild);}

