if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<img src="'+img[0].src+'" class="pbtthumbimg"/>';
summ = summary_img;
}
var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;
}
</script>
<b:if cond='data:blog.pageType == "static_page"'>
<style type='text/css'>
.post-body img {padding:0px;background:transparent;border:none;}
.pbtsharethisbutt {float:none;}
</style>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<style type='text/css'>
.post-body img {padding:0px;background:transparent;border:none;}
.pbtsharethisbutt {float:none;}
</style>
</b:if>
<!--[if lte IE 8]>
<style type='text/css'>
#search{background-position:99% 20%;height:16px;}
.fp-slider {height:300px;}
.fp-nav {display:none;}
</style>
<![endif]-->
<script src='https://apis.google.com/js/plusone.js' type='text/javascript'>
{lang: 'en-US'}
</script>
<b:include data='blog' name='google-analytics'/>
</head>
<body>
<div id='body-wrapper'>
<div id='outer-wrapper'>
<div class='span-24'>
<div class='span-16'>
<div class='menu-primary-container'>
<b:section class='pagelistmenusblog' id='pagelistmenusblog' maxwidgets='1' showaddelement='no'>
<b:widget id='LinkList7' locked='true' title='Edit This Menu' type='LinkList' version='1' visible='true'>
<b:includable id='main'>
<div class='widget-content'>
<ul class='menus menu-primary' id='pagelistmenusblogul'>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:loop>
</ul>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>
</b:section>
</div>
</div>
<div class='span-8 last'>
<div id='top-social-profiles'>
<ul class='widget-container'>
<!--
_____ _ _ _ _
| ____|__| (_) |_ | |__ ___ _ __ ___
| _| / _` | | __| | '_ \ / _ \ '__/ _ \
| |__| (_| | | |_ | | | | __/ | | __/
|_____\__,_|_|\__| |_| |_|\___|_| \___|
Edit the code below using your own information.
Happy blogging from BTemplates.com :)
-->
<li class='social-profiles-widget'>
<a href='https://twitter.com/YOUR_USERNAME' target='_blank'><img alt='Twitter' src='https://4.bp.blogspot.com/-bB5R5KX6J_4/V5Ykzqq9m5I/AAAAAAAAA7s/OSZfgf4Mo80/s000/twitter.png' title='Twitter'/></a><a href='https://facebook.com/YOUR_USERNAME' target='_blank'><img alt='Facebook' src='https://4.bp.blogspot.com/-sW_iHAgGOVY/V5Ykz9kEhFI/AAAAAAAAA7w/W0SEXgUgn8Q/s000/facebook.png' title='Facebook'/></a><a href='https://plus.google.com/' target='_blank'><img alt='Google Plus' src='https://4.bp.blogspot.com/-5RO1x7EMJoA/V5Yk0LoVVKI/AAAAAAAAA70/TwCDJ8CiTqc/s000/google.png' title='Google Plus'/></a><a href='https://instagram.com/' target='_blank'><img alt='Instagram' src='https://4.bp.blogspot.com/-z1eg_Ex_Imo/V5Yk0J23L4I/AAAAAAAAA74/3xC3xUNKB1Q/s000/instagram.png' title='Instagram'/></a><a expr:href='data:blog.homepageUrl + "feeds/posts/default"' target='_blank'><img alt='RSS Feed' src='https://3.bp.blogspot.com/-oHbEae6vIKU/V5Yk0euvl1I/AAAAAAAAA78/7J1LJ2Uyibw/s000/rss.png' title='RSS Feed'/></a><a href='mailto:your@email.com' target='_blank'><img alt='Email' src='https://4.bp.blogspot.com/-CDBAEz15g2U/V5Yk0msiLhI/AAAAAAAAA8A/t7G4rQhf9_Y/s000/mail.png' title='Email'/></a>
</li>
</ul>
</div>
</div>
</div>
<div style='clear:both;'/>
<div id='header-wrapper'>
<b:section class='header' id='headerbleft' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='GreatMag (Header)' type='Header' version='1' visible='true'>
<b:includable id='main'>
<b:if cond='data:useImage'>
<b:if cond='data:imagePlacement == "REPLACE"'>
<!--Show just the image, no text-->
<div id='header-inner'>
<a expr:href='data:blog.homepageUrl' style='display: block'>
<img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block;padding-left:0px;padding-top:0px;'/>
</a>
</div>
<b:else/>
<!--
Show image as background to text. You can't really calculate the width
reliably in JS because margins are not taken into account by any of
clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
width if the user is using shrink to fit.
This results in a margin-width's worth of pixels being cropped. If the
user is not using shrink to fit then we expand the header.
-->
<div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: " + data:backgroundPositionStyleStr + "; " + data:widthStyleStr + "min-height: " + data:height + "px;" + "_height: " + data:height + "px;" + "background-repeat: no-repeat; "' id='header-inner'>
<div class='titlewrapper' style='background: transparent'>
<h1 class='title' style='background: transparent; border-width: 0px'>
<b:include name='title'/>
</h1>
</div>
<b:include name='description'/>
</div>
</b:if>
<b:else/>
<!--No header image -->
<div id='header-inner'>
<div class='titlewrapper'>
<h1 class='title'>
<b:include name='title'/>
</h1>
</div>
<b:include name='description'/>
</div>
</b:if>
</b:includable>
<b:includable id='description'>
<div class='descriptionwrapper'>
<p class='description'><span><data:description/></span></p>
</div>
</b:includable>
<b:includable id='title'>
<a expr:href='data:blog.homepageUrl'><data:title/></a>
Back to home |
File page
Subscribe |
Register |
Login
| N