/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */ /* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */ /* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js */ InsertImage._pluginInfo={name:"InsertImage",origin:"Xinha Core",version:"$LastChangedRevision:992 $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"}; function InsertImage(_1){ } Xinha.prototype._insertImage=function(_2){ var _3=this; var _4; if(typeof _2=="undefined"){ _2=this.getParentElement(); if(_2&&_2.tagName.toLowerCase()!="img"){ _2=null; } } var _5; if(typeof _3.config.baseHref!="undefined"&&_3.config.baseHref!==null){ _5=_3.config.baseHref; }else{ var _6=window.location.toString().split("/"); _6.pop(); _5=_6.join("/"); } if(_2){ function getSpecifiedAttribute(_7,_8){ var a=_7.attributes; for(var i=0;i