var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649445&x=512',
		'title': '',
		'imageId': '69649445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649456&x=512',
		'title': '',
		'imageId': '69649456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649458&x=512',
		'title': '',
		'imageId': '69649458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649463&x=512',
		'title': '',
		'imageId': '69649463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649469&x=512',
		'title': '',
		'imageId': '69649469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649451&x=512',
		'title': '',
		'imageId': '69649451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649449&x=512',
		'title': '',
		'imageId': '69649449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649448&x=512',
		'title': '',
		'imageId': '69649448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649457&x=512',
		'title': '',
		'imageId': '69649457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649467&x=512',
		'title': '',
		'imageId': '69649467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649443&x=512',
		'title': '',
		'imageId': '69649443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649450&x=512',
		'title': '',
		'imageId': '69649450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649446&x=512',
		'title': '',
		'imageId': '69649446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649459&x=512',
		'title': '',
		'imageId': '69649459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649447&x=512',
		'title': '',
		'imageId': '69649447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649442&x=512',
		'title': '',
		'imageId': '69649442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649453&x=512',
		'title': '',
		'imageId': '69649453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649444&x=512',
		'title': '',
		'imageId': '69649444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649464&x=512',
		'title': '',
		'imageId': '69649464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649466&x=512',
		'title': '',
		'imageId': '69649466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649454&x=512',
		'title': '',
		'imageId': '69649454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649465&x=512',
		'title': '',
		'imageId': '69649465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649462&x=512',
		'title': '',
		'imageId': '69649462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649460&x=512',
		'title': '',
		'imageId': '69649460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649455&x=512',
		'title': '',
		'imageId': '69649455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649452&x=512',
		'title': '',
		'imageId': '69649452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649461&x=512',
		'title': '',
		'imageId': '69649461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649470&x=512',
		'title': '',
		'imageId': '69649470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649472&x=512',
		'title': '',
		'imageId': '69649472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649468&x=512',
		'title': '',
		'imageId': '69649468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649474&x=512',
		'title': '',
		'imageId': '69649474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649473&x=512',
		'title': '',
		'imageId': '69649473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=69649471&x=512',
		'title': '',
		'imageId': '69649471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=59270515&x=512',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991894&docid=59270516&x=512',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991894';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
