//1
var lang;
var locate;
if(location.host == "localhost")
  var share_php = "http://localhost/ajaho.com/";
else
  var share_php = "http://ajaho.com/";
location_arr = location.host.split(".");
location_host = "";
if(location_arr[0] == "www") {
  for(i = 1; i < location_arr.length; i++)  {
    location_host += location_arr[i];
    if(i != location_arr.length - 1) location_host += ".";
  }//for
} else location_host = location.host;
var nav = (navigator.appVersion.indexOf("Chrome") != -1) ? "Chrome" : navigator.appName;
var nav = (navigator.appVersion.indexOf("Safari") != -1) ? "Safari" : nav;
if(document.getElementById("ajaho_talk_frame") == null) {
  document.write('<iframe id="ajaho_talk_frame" border="1" src="" name="ajaho_talk_frame" width="" height="" frameborder="no" marginwidth="0" margiheight="0" scrolling="no" style="border:1px;position:absolute;z-index:9997;display:none;"></iframe>');
  document.write('<div id="ajaho_talk_frame_catcher" style="position:absolute;z-index:9997;cursor:move;display:none;" onMouseDown="ajfr_catch_window();" onMouseUp="finalize_dragging();"></div>');
  document.write('<div id="ajaho_talk_frame_dollar" style="position:absolute;z-index:9997;cursor:pointer;cursor:hand;display:none;" onClick="show_earn_scheme();"></div>');
  document.write('<div id="ajaho_talk_frame_closer" style="position:absolute;z-index:9997;cursor:pointer;cursor:hand;display:none;" onClick="hide_ajaho_talk();"></div>');
  document.write('<div id="ajaho_talk_frame_resizer" style="position:absolute;z-index:9998;cursor:SE-resize;display:none;" onMouseDown="if(window.navigator.appName != \'Opera\') {ajfr_disableSelection(this);ajfr_startDisableSelection();} if(ajfr_open_gates) {ajfr_open_gates=false; ajfr_resize_window();return false;}" onMouseUp="if(window.navigator.appName != \'Opera\') {ajfr_disableSelection(this);} if(ajfr_resize) {ajfr_finalize_resizing();}"></div>');     
  document.write('<div id="ajaho_talk_frame_phantom" style="position:absolute;z-index:9997;border:2px dashed #777777;display:none;background-color:#FFFFFF;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);-moz-opacity: 0.5;opacity: 0.5;"></div>');
  docwidth = 0;
  docheight = 0;
  if (window.innerWidth || window.innerHeight) { 
    docwidth = window.innerWidth; 
    docheight = window.innerHeight; 
  } //if
  if(document.body != null && docheight == 0 && docwidth == 0) {
    if (document.body.clientWidth || document.body.clientHeight){ 
      docwidth = document.body.clientWidth || document.documentElement.clientWidth; 
      docheight = document.body.clientHeight || document.documentElement.clientHeight; 
    }//if
  }//if
  
  if(locate == undefined) {
    w = 100;
    if(nav == "Microsoft Internet Explorer" || nav == "Opera") h = 23;
    else h = 22;
    needed_button_file = "share_button.php";
    this_position = "";
  } else {
    switch(lang) {
      case "ru": letters = 3; break;
      default: letters = 4; break;
    }//switch
    w = 29;
    h = 48 + 17 * letters;
    if(nav == "Microsoft Internet Explorer" || nav == "Opera") h += 1;    
    needed_button_file = "share_button2.php";
    arr = locate.split("_");
    if(arr[0] == "left") l = 0;
    if(arr[1] == "bottom") t = Math.floor(3 * (docheight / 4) - h / 2);
    this_position = "position:absolute;top:" + t + "px;left:" + l + "px;";
    z_index = "z-index:9997;"
    addEvent(window, 'scroll', function(event) {
      return;
      scroll_top = document.body.scrollTop || window.pageYOffset || document.documentElement.scrollTop;
      scroll_left = document.body.scrollLeft || window.pageXOffset || document.documentElement.scrollLeft;
      d("ajaho_talk_button_frame").style.top = t + scroll_top + "px";
    	d("ajaho_talk_button_frame_phantom").style.top = t + scroll_top + "px";
    	d("ajaho_talk_button_frame").style.left = l + scroll_left + "px";
    	d("ajaho_talk_button_frame_phantom").style.left = l + scroll_left + "px"; 	
    });
  }//if-else
  
  document.write('<div id="ajaho_talk_button_frame_phantom" style="width:' + w + 'px;height:' + h + 'px;position:absolute;z-index:9998;cursor:pointer;cursor:hand;background-color:#FFFFFF;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); -moz-opacity:0; opacity:0; ' + this_position + '" onClick="ajfr_open_ajaho_talk();"></div>');
  if(button_color == undefined) button_color = "8A869E";
  this_src = share_php + needed_button_file + "?&club=" + location_host + "&navigator=" + nav + "&button_color=" + button_color + "&lang=" + lang + "&locate=" + locate;
  document.write('<iframe id="ajaho_talk_button_frame" scrolling="no" frameborder="0" border="0" src="' + this_src + '" style="width:' + w + 'px;height:' + h + 'px;margin:0px;padding:0px;' + this_position + z_index + '" marginwidth="0" margiheight="0"></iframe>');
  if(nav != "Microsoft Internet Explorer")
    setTimeout( "fix_position()", 1000 );
} else {  
  document.getElementById("ajaho_talk_frame").src = "";
}//if-else

function fix_position() {
  d("ajaho_talk_button_frame_phantom").style.position = "fixed";
  d("ajaho_talk_button_frame").style.position = "fixed";
}//function

var ajfr_open_gates = true;

  if( document.all ) {
    document.onmousemove = ajfr_getCoordIE;
  } else if( document.getElementById ) {
    document.captureEvents( Event.MOUSEMOVE );
    document.onmousemove = ajfr_getCoordNN;
  }//if-else
 
  var ajfr_x,ajfr_y;
  
  function ajfr_getCoordNN(event) {
    ajfr_x = event.pageX;
    ajfr_y = event.pageY;
    ajfr_dragging();
    ajfr_resizing();
  }//function
  
  function ajfr_getCoordIE () {
    ajfr_x = window.event.clientX;
    ajfr_y = window.event.clientY;
    ajfr_dragging();
    ajfr_resizing();
  }//function
    
  document.onload = setTimeout('var ajfr_frame = document.getElementById("ajaho_talk_frame");var ajfr_catcher = document.getElementById("ajaho_talk_frame_catcher");var ajfr_closer = document.getElementById("ajaho_talk_frame_closer");var ajfr_resizer = document.getElementById("ajaho_talk_frame_resizer");var ajfr_phantom = document.getElementById("ajaho_talk_frame_phantom");ajfr_initialize();',500);  
  
  var correct_top = 0;
  var correct_left = 0;
  var _top;
  var _height;
  var _width;
  var _left;
  function ajfr_initialize() {
    ajfr_frame = document.getElementById("ajaho_talk_frame");
    ajfr_catcher = document.getElementById("ajaho_talk_frame_catcher");
    ajfr_closer = document.getElementById("ajaho_talk_frame_closer"); 
    ajfr_dollar = document.getElementById("ajaho_talk_frame_dollar");  
    ajfr_resizer = document.getElementById("ajaho_talk_frame_resizer");
    ajfr_phantom = document.getElementById("ajaho_talk_frame_phantom");
    cookie_content = getCookie("ajaho_talk_frame");
    if(cookie_content == "") {
      _width = 488;
      _height = 426;
      _top = Math.floor( docheight / 2 - _height / 2 );
      _left = Math.floor( docwidth / 2 - _width / 2 );
      cookie_content = "&width=" + _width + "&height=" + _height + "&top=" + _top + "&left=" + _left;
      setCookie( "ajaho_talk_frame", cookie_content, 365 );
    } else {
      arr = getVariables(cookie_content);
      _width = arr[0];
      _height = arr[1];
      _top = arr[2];
      _left = arr[3];

    }//if-else
    scroll_top = document.body.scrollTop || window.pageYOffset || document.documentElement.scrollTop;
    scroll_left = document.body.scrollLeft || window.pageXOffset || document.documentElement.scrollLeft;
    _top += scroll_top;
    _left += scroll_left; 
    
    if(nav != "Microsoft Internet Explorer") {
      ajfr_frame.style.position = "fixed";
      ajfr_catcher.style.position = "fixed";
      ajfr_closer.style.position = "fixed"; 
      ajfr_dollar.style.position = "fixed";
      ajfr_resizer.style.position = "fixed";
      ajfr_phantom.style.position = "fixed";     
    }//if
    
    /*
    if(auto_open) {
      if(auto_open == true) auto_open = 0;
      setTimeout("ajfr_open_ajaho_talk()",auto_open * 1000) //1
    }//if
    */
  }//function
  
  function ajfr_initialize_params() {        
  
    arr = findPos(document.getElementById("ajaho_talk_button_frame"));
    if(arr) {
      correct_top = 0;
      correct_left = 0;
    }//if
    _top = _top - correct_top;
    _left = _left - correct_left;
    
    ajfr_frame.style.width = _width + "px";
    ajfr_frame.style.height = _height + "px";
    ajfr_frame.style.top = _top + "px";
    ajfr_frame.style.left = _left + "px";
    ajfr_catcher.style.top = _top + "px";
    ajfr_catcher.style.left = _left + "px";
    ajfr_catcher.style.width = _width + "px";
    ajfr_catcher.style.height = 34 + "px";
    ajfr_closer.style.top = _top + "px";
    ajfr_closer.style.left = _left + _width - 34 + "px";
    ajfr_closer.style.width = 34 + "px";
    ajfr_closer.style.height = 34 + "px";
    ajfr_dollar.style.top = _top + "px";
    ajfr_dollar.style.left = _left + "px";
    ajfr_dollar.style.width = 34 + "px";
    ajfr_dollar.style.height = 34 + "px";    
    ajfr_resizer.style.top = _top + _height - 22 + "px";
    ajfr_resizer.style.left = _left + _width - 21 + "px";
    ajfr_resizer.style.width = 19 + "px";
    ajfr_resizer.style.height = 19 + "px";
    ajfr_phantom.style.top = _top + "px";
    ajfr_phantom.style.left = _left + "px";
    ajfr_phantom.style.width = _width + "px";
    ajfr_phantom.style.height = _height + "px";
  }
  
  function ajfr_open_ajaho_talk() {
    ajfr_initialize_params();
    ajfr_frame.style.display = "";
    ajfr_catcher.style.display = "";
    ajfr_closer.style.display = "";
    ajfr_dollar.style.display = "";
    ajfr_resizer.style.display = "";
    if(lang != undefined) add = "&lang=" + lang;
    else add = "";
    document.getElementById("ajaho_talk_frame").src = share_php + "share.php?&club=" + location_host + "&admin=" + admin + "&parent_id=" + parent_id + add;  
  }//function
  
  var ajfr_start_x,ajfr_start_y,ajfr_initial_x,ajfr_initial_y;
  var ajfr_drag = false;
  var ajfr_draged_elem;
  var ajfr_resizer_initial_x, ajfr_resizer_initial_y;
  var ajfr_closer_initial_x, ajfr_closer_initial_y;
  var ajfr_dollar_initial_x, ajfr_dollar_initial_y;
  var ajfr_phantom_initial_x, ajfr_phantom_initial_y;
  function ajfr_catch_window() {
    ajfr_draged_elem= document.getElementById("ajaho_talk_frame");
    ajfr_catcher.style.height = ajfr_draged_elem.style.height;
    ajfr_start_x= ajfr_x;
    ajfr_start_y= ajfr_y;
    ajfr_initial_x= ajfr_draged_elem.style.left.replace("px","") - correct_left;
    ajfr_initial_y= ajfr_draged_elem.style.top.replace("px","") - correct_top;
    ajfr_drag= true;
    ajfr_startDisableSelection();
    ajfr_resizer_initial_x = parseInt(ajfr_resizer.style.left.replace("px","")) - correct_left;
    ajfr_resizer_initial_y = parseInt(ajfr_resizer.style.top.replace("px","")) - correct_top;
    ajfr_closer_initial_x = parseInt(ajfr_closer.style.left.replace("px","")) - correct_left;
    ajfr_closer_initial_y = parseInt(ajfr_closer.style.top.replace("px","")) - correct_top;
    ajfr_dollar_initial_x = parseInt(ajfr_dollar.style.left.replace("px","")) - correct_left;
    ajfr_dollar_initial_y = parseInt(ajfr_dollar.style.top.replace("px","")) - correct_top;    
    ajfr_phantom_initial_x = parseInt(ajfr_phantom.style.left.replace("px","")) - correct_left;
    ajfr_phantom_initial_y = parseInt(ajfr_phantom.style.top.replace("px","")) - correct_top;
  }//function
  
  function ajfr_dragging() {
    if(ajfr_drag) {
      
      new_x= ajfr_initial_x+ajfr_x-ajfr_start_x + correct_left;
      new_y= ajfr_initial_y+ajfr_y-ajfr_start_y + correct_top;
      if(new_y < 0 - correct_top) new_y = 0 - correct_top;
      if(new_x < 0 - correct_left) new_x = 0 - correct_left;
      ajfr_draged_elem.style.left= new_x + "px";
      ajfr_draged_elem.style.top= new_y + "px"
      ajfr_catcher.style.left= new_x + "px";
      ajfr_catcher.style.top= new_y + "px";       
      ajfr_resizer.style.left= new_x + ajfr_resizer_initial_x - ajfr_initial_x + "px";
      ajfr_resizer.style.top= new_y + ajfr_resizer_initial_y - ajfr_initial_y + "px";       
      ajfr_closer.style.left= new_x + ajfr_closer_initial_x - ajfr_initial_x + "px";
      ajfr_closer.style.top= new_y + ajfr_closer_initial_y - ajfr_initial_y + "px";  
      ajfr_dollar.style.left= new_x + ajfr_dollar_initial_x - ajfr_initial_x + "px";
      ajfr_dollar.style.top= new_y + ajfr_dollar_initial_y - ajfr_initial_y + "px";           
      ajfr_phantom.style.left= new_x + ajfr_phantom_initial_x - ajfr_initial_x + "px";
      ajfr_phantom.style.top= new_y + ajfr_phantom_initial_y - ajfr_initial_y + "px";                 
    }//if
  }//function 
  
  function finalize_dragging()  {
    ajfr_drag = false; 
    ajfr_catcher.style.height = 34 + "px";
    ajfr_catcher.style.width = parseInt(ajfr_catcher.style.width.replace("px","")) + "px";
    ajfr_stopDisableSelection();
    arr = getVariables( getCookie("ajaho_talk_frame") );
    _width = arr[0];
    _height = arr[1];
    _top = arr[2];
    _left = arr[3];
    new_top = parseInt( ajfr_draged_elem.style.top.replace("px", "") );
    new_left = parseInt( ajfr_draged_elem.style.left.replace("px", "") );
    new_cookie_content = "&width=" + _width + "&height=" + _height + "&top=" + new_top + "&left=" + new_left; 
    setCookie( "ajaho_talk_frame", new_cookie_content, 365 );
  }//function

var save_config_for_onmousedown;
var targets_for_onmousedown = new Array();
var configs_for_onmousedown = new Array();
function ajfr_disableSelection(target){
  if (typeof target.onselectstart!="undefined") //IE route
        target.onselectstart=function(){return false}
  else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
        {target.style.MozUserSelect="none";}
  else {//All other route (ie: Opera)
    for(i=0; ; i++) {
      if(targets_for_onmousedown[i] == target)  {
        configs_for_onmousedown[i] = target.onmousedown;
        break;
      }//if
      if(targets_for_onmousedown[i] == undefined)  {
        configs_for_onmousedown[i] = target.onmousedown;
        targets_for_onmousedown[i] = target;
        break;
      }//for
    }//for
    //save_config_for_onmousedown = target.onmousedown;
    target.onmousedown=function(){return false} 
  }//if-else
}//function

function ajfr_enableSelection(target){
  if (typeof target.onselectstart!="undefined") //IE route
        target.onselectstart=function(){return true}
  else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
        target.style.MozUserSelect=""
  else {//All other route (ie: Opera)
        for(i=0; ; i++) {
      if(targets_for_onmousedown[i] == target)  {
        target.onmousedown = configs_for_onmousedown[i];
        break;
      }//if
      if(targets_for_onmousedown[i] == undefined) {
        break;
      }//if      
    }//for
    //target.onmousedown = save_config_for_onmousedown;
  }//if-else
}//function

function ajfr_startDisableSelection() {
  ajfr_disableSelection(document.body);
  ajfr_disableSelection(ajfr_catcher);
  ajfr_disableSelection(document.getElementById("ajaho_talk_frame_catcher"));
  ajfr_disableSelection(ajfr_phantom);
  ajfr_disableSelection(document.getElementById("ajaho_talk_frame"));
}//function

function ajfr_stopDisableSelection() {
  ajfr_enableSelection(document.body);
  //ajfr_enableSelection(ajfr_catcher);
  ajfr_enableSelection(ajfr_phantom);
  ajfr_enableSelection(document.getElementById("ajaho_talk_frame"));
}//function

function hide_ajaho_talk() {
  document.getElementById("ajaho_talk_frame").style.display = "none";
  ajfr_catcher.style.display = "none";
  ajfr_closer.style.display = "none";
  ajfr_dollar.style.display = "none";
  ajfr_resizer.style.display = "none";
  document.getElementById("ajaho_talk_frame").src = "";
}//function

function show_earn_scheme() {
  document.getElementById("ajaho_talk_frame").src = share_php + "share.php?&club=" + location_host + "&admin=" + admin + "&parent_id=" + parent_id + "&show_earn_scheme=yes";
}//function

var ajfr_start_width; 
var ajfr_start_height;
var ajfr_resize = false;
var ajfr_width_limit;
var ajfr_height_limit;
var ajfr_resized_elem;
var ajfr_resizer_start_width, ajfr_resizer_start_height;
var ajfr_catcher_start_width, ajfr_closer_start_width, ajfr_dollar_start_width;
var ajfr_phantom_start_width, ajfr_phantom_start_height;
function ajfr_resize_window() {
  document.body.style.cursor = "SE-resize";
  elem = "ajaho_talk_frame";
  ajfr_resized_elem= elem;
  ajfr_resize= true;
  var reg= /px/;
  ajfr_start_x= ajfr_x;
  ajfr_start_y= ajfr_y;  
  ajfr_start_width= parseInt(document.getElementById(elem).style.width.replace(reg,""));
  ajfr_start_height= parseInt(document.getElementById(elem).style.height.replace(reg,""));
  ajfr_width_limit = 488;
  ajfr_height_limit = 429;
  ajfr_resize = true;
  ajfr_resizer.style.left = document.getElementById(elem).style.left;
  ajfr_resizer.style.top = document.getElementById(elem).style.top;
  ajfr_resizer.style.width = parseInt(document.getElementById(elem).style.width.replace("px","")) + 20 + "px";
  ajfr_resizer.style.height = parseInt(document.getElementById(elem).style.height.replace("px","")) + 20 + "px"; 
  ajfr_resizer_start_width = parseInt(ajfr_resizer.style.width.replace("px",""));
  ajfr_resizer_start_height = parseInt(ajfr_resizer.style.height.replace("px",""));
  ajfr_catcher_start_width = parseInt(ajfr_catcher.style.width.replace("px",""));
  ajfr_closer_start_left = parseInt(ajfr_closer.style.left.replace("px",""));
  ajfr_dollar_start_left = parseInt(ajfr_dollar.style.left.replace("px",""));
  ajfr_phantom_start_width = parseInt(ajfr_phantom.style.width.replace("px",""));
  ajfr_phantom_start_height = parseInt(ajfr_phantom.style.height.replace("px",""));  
  ajfr_phantom.style.display = "";
}//function

function ajfr_resizing() {
  if(ajfr_resize) {
    ajfr_new_x= ajfr_x-ajfr_start_x;
    ajfr_new_y= ajfr_y-ajfr_start_y;
    if(ajfr_start_height + ajfr_new_y < ajfr_height_limit) ajfr_new_y = ajfr_height_limit - ajfr_start_height;
    if(ajfr_start_width + ajfr_new_x < ajfr_width_limit) ajfr_new_x = ajfr_width_limit - ajfr_start_width;    
    ajfr_resizer.style.width = ajfr_new_x + ajfr_resizer_start_width + "px";
    ajfr_resizer.style.height = ajfr_new_y + ajfr_resizer_start_height + "px";    
    ajfr_catcher.style.width = ajfr_catcher_start_width + ajfr_new_x + "px";
    ajfr_closer.style.left = ajfr_closer_start_left + ajfr_new_x + "px";
    //ajfr_dollar.style.left = ajfr_dollar_start_left + ajfr_new_x;
    ajfr_phantom.style.width = ajfr_new_x + ajfr_phantom_start_width + "px";
    ajfr_phantom.style.height = ajfr_new_y + ajfr_phantom_start_height + "px";    
    document.getElementById(ajfr_resized_elem).style.height= ajfr_start_height + ajfr_new_y + "px";
    document.getElementById(ajfr_resized_elem).style.width= ajfr_start_width + ajfr_new_x + "px";    
  }//if
}//function

function ajfr_finalize_resizing() {
  ajfr_resize = false; 
  ajfr_open_gates = true; 
  ajfr_resizer.style.width = 19 + "px";
  ajfr_resizer.style.height = 19 + "px";
  
  ajfr_resizer.style.top = 
    parseInt(document.getElementById("ajaho_talk_frame").style.top.replace("px","")) + 
    parseInt(document.getElementById("ajaho_talk_frame").style.height.replace("px","")) - 22 + "px";
  ajfr_resizer.style.left = 
    parseInt(document.getElementById("ajaho_talk_frame").style.left.replace("px","")) + 
    parseInt(document.getElementById("ajaho_talk_frame").style.width.replace("px","")) - 21 + "px";  
  ajfr_stopDisableSelection();
  document.body.style.cursor = "";
  ajfr_phantom.style.display = "none";
  new_width = ajfr_phantom.style.width.replace("px","");
  new_height = ajfr_phantom.style.height.replace("px","");
  document.getElementById("ajaho_talk_frame").src = share_php + "share.php?club=" + location_host + "&new_width=" + new_width + "&new_height=" + new_height + "&admin=" + admin + "&parent_id=" + parent_id;
  arr = getVariables( getCookie("ajaho_talk_frame") );
  _width = arr[0];
  _height = arr[1];
  _top = arr[2];
  _left = arr[3];
  new_width = parseInt( ajfr_frame.style.width.replace("px", "") );
  new_height = parseInt( ajfr_frame.style.height.replace("px", "") );
  new_cookie_content = "&width=" + new_width + "&height=" + new_height + "&top=" + _top + "&left=" + _left;
  setCookie( "ajaho_talk_frame", new_cookie_content, 365 );  
}//function

function setCookie(c_name,value,expiredays) {
  var exdate=new Date();
  exdate.setDate(exdate.getDate()+expiredays);
  document.cookie=c_name+ "=" +escape(value)+
  ((expiredays==null) ? "" : ";expires=" + exdate.toGMTString());
}//function

function getCookie(c_name) {
  if (document.cookie.length>0) {
    c_start=document.cookie.indexOf(c_name + "=");
    if (c_start!=-1) {
        c_start=c_start + c_name.length+1;
        c_end=document.cookie.indexOf(";",c_start);
        if (c_end==-1) c_end=document.cookie.length;
        return unescape(document.cookie.substring(c_start,c_end));
      }
    }
  return "";
}//function

function getVariables(cookie_content) {
  cookie_content_arr = cookie_content.split( "&" );
  arr = cookie_content_arr[1].split( "=" );
  _width = parseInt(arr[1]);
  arr = cookie_content_arr[2].split( "=" );
  _height = parseInt(arr[1]);  
  arr = cookie_content_arr[3].split( "=" );
  _top = parseInt(arr[1]);
  arr = cookie_content_arr[4].split( "=" );
  _left = parseInt(arr[1]);
  return [_width,_height,_top,_left];
}//function

function findPos(obj) {
  curleft = 0; 
  curtop = 0;
  if(obj == null) return false;
  if (obj.offsetParent) {
    do {
      curleft += obj.offsetLeft;
      curtop += obj.offsetTop;    
    } while (obj = obj.offsetParent)
    return [curleft,curtop];
  }//if
}//function

function addEvent( obj, type, fn ) {
  if ( obj.attachEvent ) {
    obj['e'+type+fn] = fn;
    obj[type+fn] = function(){obj['e'+type+fn]( window.event );}
    obj.attachEvent( 'on'+type, obj[type+fn] );
  } else
    obj.addEventListener( type, fn, false );
}//function

function d(id)  {
  return document.getElementById(id);
}//function
