');
var textinside = postcontent.substring(postcontent.indexOf("[starttext]")+11,postcontent.indexOf("[endtext]"));
var re = /<\S[^>]*>/g;
postcontent = textinside.replace(re, "");
if (showpostsummary == true) {
if (postcontent.length < numchars) {
document.write('
');}
}
var towrite='';var flag=0;
document.write('
');
if(displayseparator==true)
if (i!=(numposts-1))
document.write('');
}document.write('
');
}
/*
* Easy Slider 1.7 - jQuery plugin
* written by Alen Grakalic
* http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding
*
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* Built for jQuery library
* http://jquery.com
*
*/
/*
* markup example for $("#slider").easySlider();
*
*
*
*
*
*
*
*
*
*
*
*/
(function($) {
$.fn.easySlider = function(options){
// default configuration properties
var defaults = {
prevId: 'prevBtn',
prevText: 'Previous',
nextId: 'nextBtn',
nextText: 'Next',
controlsShow: true,
controlsBefore: '',
controlsAfter: '',
controlsFade: true,
firstId: 'firstBtn',
firstText: 'First',
firstShow: false,
lastId: 'lastBtn',
lastText: 'Last',
lastShow: false,
vertical: false,
speed: 800,
auto: false,
pause: 2000,
continuous: false,
numeric: false,
numericId: 'controls'
};
var options = $.extend(defaults, options);
this.each(function() {
var obj = $(this);
var s = $("li", obj).length;
var w = $("li", obj).width();
var h = $("li", obj).height();
var clickable = true;
obj.width(w);
obj.height(h);
obj.css("overflow","hidden");
var ts = s-1;
var t = 0;
$("ul", obj).css('width',s*w);
if(options.continuous){
$("ul", obj).prepend($("ul li:last-child", obj).clone().css("margin-left","-"+ w +"px"));
$("ul", obj).append($("ul li:nth-child(2)", obj).clone());
$("ul", obj).css('width',(s+1)*w);
};
if(!options.vertical) $("li", obj).css('float','left');
if(options.controlsShow){
var html = options.controlsBefore;
if(options.numeric){
html += '';
} else {
if(options.firstShow) html += ''+ options.firstText +'';
html += ' '+ options.prevText +'';
html += ' '+ options.nextText +'';
if(options.lastShow) html += ' '+ options.lastText +'';
};
html += options.controlsAfter;
$(obj).after(html);
};
if(options.numeric){
for(var i=0;i'+ (i+1) +'
function showgalleryvideo(json) {
var showpostthumbnails_vid = true;
var showpostsummary_vid = true;
document.write('
');
for (var i = 0; i < numposts_vid; i++) {
var entry_vid = json.feed.entry[i];
var posttitle_vid = entry_vid.title.$t;
var posturl_vid;if (i == json.feed.entry.length) break;
for (var k = 0; k < entry_vid.link.length;k++){
if (entry_vid.link[k].rel == 'alternate') {
posturl_vid = entry_vid.link[k].href;break;
}
}
if("content"in entry_vid){
var postcontent_vid=entry_vid.content.$t;
}
var vidid_vid = postcontent_vid.substring(postcontent_vid.indexOf("http://www.youtube.com/watch?v=")+31,postcontent_vid.indexOf("endofvid"));
try {thumburl_vid='http://i2.ytimg.com/vi/'+vidid_vid+'/0.jpg';}catch (error){
thumburl_vid='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrJPf6ueoq4VIb_bWeaLa8NhKieprUTHSqOkFtwiUoALzhuKUQ4QybR67yJRD8X9wld7c-wwA9eu8N14qoMTRi3GvjHrBM88eVFQkdFXCqpnnvQJpr6y7ZqiRRo9Rw4KT44_a_e9HPWw/s800/noimagethumb.png';
}
document.write('
');
document.write(posttitle_vid+'
');
var textinside_vid = postcontent_vid.substring(postcontent_vid.indexOf("[starttext]")+11,postcontent_vid.indexOf("[endtext]"));
var re = /<\S[^>]*>/g;
postcontent_vid = textinside_vid.replace(re, "");
if (showpostsummary_vid == true) {
if (postcontent_vid.length < numchars_vid) {
document.write(postcontent_vid);
document.write('');}
else {
postcontent_vid = postcontent_vid.substring(0, numchars_vid);
var quoteEnd_vid = postcontent_vid.lastIndexOf(" ");
postcontent_vid = postcontent_vid.substring(0,quoteEnd_vid);
document.write(postcontent_vid + '...');
document.write('');}
}
document.write('