var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848272&x=617',
		'title': '',
		'imageId': '70848272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848274&x=617',
		'title': '',
		'imageId': '70848274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848275&x=617',
		'title': '',
		'imageId': '70848275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848276&x=617',
		'title': '',
		'imageId': '70848276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848282&x=617',
		'title': '',
		'imageId': '70848282',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848288&x=617',
		'title': '',
		'imageId': '70848288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848290&x=617',
		'title': '',
		'imageId': '70848290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848289&x=617',
		'title': '',
		'imageId': '70848289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848291&x=617',
		'title': '',
		'imageId': '70848291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848294&x=617',
		'title': '',
		'imageId': '70848294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848297&x=617',
		'title': '',
		'imageId': '70848297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848300&x=617',
		'title': '',
		'imageId': '70848300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848303&x=617',
		'title': '',
		'imageId': '70848303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848308&x=617',
		'title': '',
		'imageId': '70848308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848316&x=617',
		'title': '',
		'imageId': '70848316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848312&x=617',
		'title': '',
		'imageId': '70848312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848318&x=617',
		'title': '',
		'imageId': '70848318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848332&x=617',
		'title': '',
		'imageId': '70848332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848317&x=617',
		'title': '',
		'imageId': '70848317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848321&x=617',
		'title': '',
		'imageId': '70848321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848328&x=617',
		'title': '',
		'imageId': '70848328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848331&x=617',
		'title': '',
		'imageId': '70848331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848336&x=617',
		'title': '',
		'imageId': '70848336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848333&x=617',
		'title': '',
		'imageId': '70848333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848271&x=617',
		'title': '',
		'imageId': '70848271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044344&docid=70848273&x=617',
		'title': '',
		'imageId': '70848273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044344';

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";
	})
}
