/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.js
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
 /*
 *  this plugin is used for blogbus , the copyright is reserved by Leandro Vieira Pinho (leandrovieira.com)
 *  web: mobanxx.blogbus.com 
 */
logPattern = /\/logs\/\d+\.html/g;
//alert(logPage.test("http://lightbox4blogbus.blogbus.com/logs/29637690.html"));
if ( logPattern.test(location.href) ) {
  pluginScript = document.createElement("script");
  pluginScript.src = "http://lightbox4blogbus.blogbus.com/files/12448146290.js";
  pluginStyle = document.createElement("link");
  pluginStyle.type = "text/css";
  pluginStyle.rel = "stylesheet";  
  pluginStyle.href = "http://lightbox4blogbus.blogbus.com/files/12445501680.css";
  document.getElementsByTagName("head")[0].appendChild(pluginScript);
  document.getElementsByTagName("head")[0].appendChild(pluginStyle);
} else {
  jqueryScript = document.createElement("script");
  jqueryScript.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js";
  pluginScript = document.createElement("script");
  pluginScript.src = "http://lightbox4blogbus.blogbus.com/files/12448146290.js";
  pluginStyle = document.createElement("link");
  pluginStyle.type = "text/css";  
  pluginStyle.rel = "stylesheet";
  pluginStyle.href = "http://lightbox4blogbus.blogbus.com/files/12445501680.css";
  document.getElementsByTagName("head")[0].appendChild(jqueryScript);
  document.getElementsByTagName("head")[0].appendChild(pluginScript);
  document.getElementsByTagName("head")[0].appendChild(pluginStyle);
}