var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915527&x=916',
		'title': '',
		'imageId': '70915527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915526&x=916',
		'title': '',
		'imageId': '70915526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915566&x=916',
		'title': '',
		'imageId': '70915566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915528&x=916',
		'title': '',
		'imageId': '70915528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915542&x=916',
		'title': '',
		'imageId': '70915542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915560&x=916',
		'title': '',
		'imageId': '70915560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915557&x=916',
		'title': '',
		'imageId': '70915557',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915549&x=916',
		'title': '',
		'imageId': '70915549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915563&x=916',
		'title': '',
		'imageId': '70915563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915538&x=916',
		'title': '',
		'imageId': '70915538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915544&x=916',
		'title': '',
		'imageId': '70915544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915531&x=916',
		'title': '',
		'imageId': '70915531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915546&x=916',
		'title': '',
		'imageId': '70915546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915554&x=916',
		'title': '',
		'imageId': '70915554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915571&x=916',
		'title': '',
		'imageId': '70915571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915522&x=916',
		'title': '',
		'imageId': '70915522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046928&docid=70915525&x=916',
		'title': '',
		'imageId': '70915525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4046928';

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