function price_loader(ASIN){
$('#p'+ASIN).html("Bitte warten ...");
            $.post("./price2.php",{ "ASIN": ASIN },
            function(data){
                $('#p'+ASIN).html(data);
            } );
}

function init_fancybox() {
var cnt=1000;
var mp= new Array();
var nc0,nc1;

$("a").each(function(i){

if(this.rel.indexOf('shadowbox')>=0) {

mp=this.rel.split(";");

if(this.id=='') {this.id="fancybox"+cnt++;}

if(mp.length>2) {
nc0=mp[1].split("=");
nc1=mp[2].split("=");
$("a#"+this.id).fancybox(
{ 'hideOnContentClick': true,
'frameWidth': Math.abs(nc0[1]),
'frameHeight': Math.abs(nc1[1]),
'padding':2 });} else {$("a#"+this.id).fancybox({ 'padding': 0});}

}

});}


