// &amp;lt;![CDATA[
var so = new SWFObject('https://www.playngonetwork.com/gfs/casino196/lang/fi/SGG/minislot_loader.swf?args=mini_font.swf%3a10+fonts.swf%3a150+../../../Skins/MiniSlot/LD/sgg_perttupotti.swf%3a60+../../../LD_mini_main.swf%3a30&amp;amp;gameid=227&amp;amp;pid=272&amp;amp;server=http%3a%2f%2fdemo.playngonetwork.com&amp;amp;login=practice&amp;amp;demo=1', "game", "100%", "100%", "8", "#333333");
so.addParam("allowScriptAccess", "always");
so.addParam("scale", "exactfit");
so.addParam("base", "https://www.playngonetwork.com/gfs/casino196/lang/fi/SGG/");
so.write("casinoflashcontent");
var m_IsIE = navigator.appName.indexOf("Microsoft") != -1;
if (m_IsIE)	window.game = document.forms[0].game;		// Fix IE bug

function getMovie(movieName)
{
	return (m_IsIE) ? window[movieName] : document[movieName];
}
function resizeEventHandler()
{
	try { getMovie("game").browserSize(document.body.scrollWidth, document.body.scrollHeight); } catch (ex) { }
}
window.onresize=resizeEventHandler

// mini slot only
function GetPlayURL(gameId)
{
}

function GameReady()
{
	resizeEventHandler();
}

function SessionId(sessionId)
{
}

function ShowHelp(gameId)
{
	openPopup('../../../DesktopModules/PlaynGO/CasinoMenu/GameHelp.aspx?GameId='+gameId+'&amp;amp;lang=fi-FI', 'Help'+gameId, 745, 500);
}

function ShowCashier(gameId)
{
	showCashier();
}

function PlayForReal(loginName, gameId)
{
	window.location = 'https://www.kolikkopelit.com/Game/tabid/314/Default.aspx?gid=227&amp;amp;practice=false&amp;amp;external=true';
}

function Logout(reason)
{
	if (reason == "Script")
	{
		window.location = window.newGameURL;
	}
	else
	{
		window.location = "/";
		//window.close();
	}
}

function RefreshParent()
{
	if(opener)
		opener.location = opener.location;
}

if(window.location.href.indexOf('refresh') &amp;gt; 0)
	RefreshParent();
// ]]&amp;gt;