var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609324&x=2257',
		'title': '',
		'imageId': '70609324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609326&x=2257',
		'title': '',
		'imageId': '70609326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609327&x=2257',
		'title': '',
		'imageId': '70609327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609328&x=2257',
		'title': '',
		'imageId': '70609328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609329&x=2257',
		'title': '',
		'imageId': '70609329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609330&x=2257',
		'title': '',
		'imageId': '70609330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609331&x=2257',
		'title': '',
		'imageId': '70609331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609332&x=2257',
		'title': '',
		'imageId': '70609332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609333&x=2257',
		'title': '',
		'imageId': '70609333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609334&x=2257',
		'title': '',
		'imageId': '70609334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609335&x=2257',
		'title': '',
		'imageId': '70609335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609336&x=2257',
		'title': '',
		'imageId': '70609336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609337&x=2257',
		'title': '',
		'imageId': '70609337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609338&x=2257',
		'title': '',
		'imageId': '70609338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609339&x=2257',
		'title': '',
		'imageId': '70609339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609340&x=2257',
		'title': '',
		'imageId': '70609340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609341&x=2257',
		'title': '',
		'imageId': '70609341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609343&x=2257',
		'title': '',
		'imageId': '70609343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609344&x=2257',
		'title': '',
		'imageId': '70609344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035893&docid=70609342&x=2257',
		'title': '',
		'imageId': '70609342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035893';

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