try{
var _isIE =
        navigator.product != "Gecko" &&
        navigator.cpuClass != undefined &&
        navigator.appName == "Microsoft Internet Explorer"
;

var Pastie = new Array();

    Pastie[Pastie.length] = {
        href: 'http://www.deviantart.com/deviation/144779213/',
        title: 'You\'re my best friend. fill.',
        artist: "~LeobartIsMad",
        thumbSrc: "http://th02.deviantart.net/fs50/150/f/2009/329/d/9/You__re_my_best_friend__fill__by_LeobartIsMad.png",
        shadow: "http://sh.deviantart.net/shadow/alpha-000000/5.1-0.6/150/126/logo.png",
        width: 150,
        height: 126    }
        Pastie[Pastie.length] = {
        href: 'http://www.deviantart.com/deviation/144779212/',
        title: 'H O P E',
        artist: "~MajesticWonder",
        thumbSrc: "http://th09.deviantart.net/fs51/150/i/2009/329/e/e/H_O_P_E_by_MajesticWonder.jpg",
        shadow: "http://sh.deviantart.net/shadow/alpha-000000/5.1-0.6/150/113/logo.png",
        width: 150,
        height: 113    }
        Pastie[Pastie.length] = {
        href: 'http://www.deviantart.com/deviation/144779211/',
        title: 'Me as an Ham-Ham',
        artist: "~rainbow-neko619",
        thumbSrc: "http://th03.deviantart.net/fs50/150/f/2009/329/a/b/Me_as_an_Ham_Ham_by_rainbow_neko619.jpg",
        shadow: "http://sh.deviantart.net/shadow/alpha-000000/5.1-0.6/116/150/logo.png",
        width: 116,
        height: 150    }
    with (document) {open();

write(
    '<style type="text/css">\n'+
    '.da-pastie-wrap, .da-pastie-wrap td { text-align:center }\n'+
    '.da-pastie-wrap table { width:100% }\n'+
    '.da-pastie-wrap img { border-style:none }\n'+
    '.da-pastie-wrap .da-pastie-shadow { background-position:center; padding:6px 9px 9px 6px }\n'+
    '.da-pastie-wrap a:link, .da-pastie-wrap a:visited, .da-pastie-wrap a:hover, .da-pastie-wrap a:focus, .da-pastie-wrap a:active { color:#88938D; font-family:Verdana, sans-serif }\n'+
    '* html .da-pastie-wrap .da-pastie-shadow .da-pastie-ieshadow { position:absolute;z-index:-1;margin-left:-8px;margin-top:-8px;background:#000;filter:progid:DXImageTransform.Microsoft.Blur(pixelradius=3,makeshadow=true,shadowopacity=.6) progid:DXImageTransform.Microsoft.Blur(pixelradius=3) progid:DXImageTransform.Microsoft.Blur(pixelradius=3);}\n'+    '</style>'
);

write('<div class="da-pastie-holder">');
write('<div class="da-pastie-wrap">');


for (var i in Pastie) {
    with (Pastie[i]){
        var onload = '';

        write(
        '<div class="da-pastie da-pastie-offset'+i+'">'+'<div class="da-pastie-shadow" style="'+(_isIE ? '' : 'background-image:url('+shadow+');')+'background-repeat:no-repeat">'+
            (_isIE ? '<span class="da-pastie-ieshadow" style="width:'+width+'px;height:'+height+'px;"></span>' : '')+'<a href="'+href+'" target="_top">'+'<img src='+ thumbSrc +' alt="'+title+' by '+artist+'" title="'+title+' by '+artist+'" width="'+width+'" height="'+height+'" '+onload+'/>'+'</a>'+
        '</div>'+'</div>'+''
        );
    }
}


write('<a href="http://www.deviantart.com" target="_top">deviantART.com</a>');

write('</div>');
write('</div>');

close();
}

}catch(e){}
