// Highslide site settings
// DO NOT EDIT. Generated on 2009-09-14 09:31:05 (GMT) by the Highslide Configuration Component 1.0.3

hs.showCredits = false;
hs.graphicsDir = '/plugins/content/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineStartOffset = 3;
hs.outlineWhileAnimating = false;
hs.captionEval = 'this.a.title';
hs.loadingText = 'ielādē...';
hs.loadingTitle = 'Klikšķini, lai atceltu...';
hs.loadingOpacity = 0.75;
hs.dimmingOpacity = 0;
hs.padToMinWidth = false;
hs.focusTitle = 'Click to bring to front';
hs.closeText = 'Aizvērt';
hs.closeTitle = 'Klikšķinit, lai aizvērtu';
hs.resizeTitle = 'Resize';
hs.moveText = 'Pārvietot';
hs.nextText = 'Nākošā';
hs.previousText = 'Iepriekšējā';
hs.restoreCursor = 'zoomout.cur';
hs.creditsHref = 'http://vikjavev.no/highslide/';
hs.creditsText = 'Powered by <i>Highslide JS</i>';
hs.creditsTitle = 'Go to the Highslide JS homepage';
hs.easing = 'linearTween';
hs.easingClose = hs.easing;
hs.fullExpandOpacity = 1.0;
hs.fullExpandTitle = 'Expand to actual size';
hs.marginTop = 10;
hs.marginBottom = 15;
hs.marginLeft = 10;
hs.marginRight = 15;
hs.minHeight = 200;
hs.minWidth = 200;
hs.numberOfImagesToPreload = 5;
hs.transitions = ['expand'];
hs.objectLoadTime = 'before';
hs.fullExpandPosition = 'bottom right';
hs.align = 'center';
hs.anchor = 'top';
hs.allowSizeReduction = true;
hs.fadeInOut = false;
hs.allowMultipleInstances = false;
hs.allowWidthReduction = false;
hs.allowHeigthReduction = true;
hs.blockRightClick = false;
hs.enableKeyListener = true;
hs.cacheAjax = true;
hs.preserveContent = true;
hs.captionSlideSpeed = 1;
hs.spaceForCaption = 30;
hs.dragSensitivity = 5;
hs.dimmingDuration = 50;
hs.expandDuration = 250;
hs.expandSteps = 10;
hs.zIndexCounter = 1001;
hs.restoreTitle = 'Klikšķini, lai aizvērtu. Lieto bulttaustiņus, lai apskatītu nākošo vai iepriekšējo.';
hs.Expander.prototype.onBeforeExpand = function(sender, e)
{
	if (document.getElementById('Controlbar_raksta_bildem_m') == null)
	{
		var div = document.createElement('div');
		div['innerHTML'] = '<div class="controlbar5">    <a href="#" onclick="return hs.previous(this)" title="Iepriekšējais (kreisais bulttaustiņš)" class="previous"></a>    <a href="#" onclick="return hs.next(this)" title="Nākošais (labais bulttaustiņš)" class="next"></a>    <a href="#" class="highslide-move" title="Klikšķini un pārvieto" class="highslide-move"><a>    <a href="#" onclick="hs.close(this)" title="Aizvērt" class="close"></a></div>';
		div['id'] = 'Controlbar_raksta_bildem_m';
		div['className'] = 'highslide-overlay';
		sender.a.appendChild( div );
	}
	return true;
}
hs.Expander.prototype.onCreateOverlay = function(sender, e)
{
    if (e.overlay.innerHTML.indexOf( '{thumbalt}', 0 ) != -1) {
		e.overlay.innerHTML = e.overlay.innerHTML.replace('{thumbalt}', sender.thumb.alt);
	}
    if (e.overlay.innerHTML.indexOf( '{thumbtitle}', 0 ) != -1) {
		e.overlay.innerHTML = e.overlay.innerHTML.replace('{thumbtitle}', sender.thumb.title);
	}
    if (e.overlay.innerHTML.indexOf( '{popuptitle}', 0 ) != -1) {
		e.overlay.innerHTML = e.overlay.innerHTML.replace('{popuptitle}', sender.a.title);
	}
}
hs.registerOverlay(
{
    thumbnailId: null,
    slideshowGroup: '1',
    fade: 1,
    overlayId: 'Controlbar_raksta_bildem_m',
    position: 'top right',
    hideOnMouseOut: true,
    opacity: 1,
    useOnHtml: false
});
hs.Expander.prototype.onAfterExpand = function (sender, e) {
	if (this.custom != null
       &&this.custom['overlayId'] != null)
    {
		sender.createOverlay( this.custom );
	}
}
hs.Expander.prototype.onInit = function (sender, e)
{
	if (this.custom != null
	   &&this.custom['swffile'] != null
	   &&this.swfObject == null
	   )
	{
		this.swfObject = new SWFObject( this.custom['swffile']
		                              , this.custom['swfobjectId']
		                              , this.custom['swfwidth']
		                              , this.custom['swfheight']
		                              , this.custom['swfversion']
		                              , this.custom['swfbgcolor']
									  );
		this.swfObject.addParam('wmode', 'transparent' );
	}
	return true;
}
