var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850293&x=744',
		'title': '',
		'imageId': '71850293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850269&x=744',
		'title': '',
		'imageId': '71850269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850272&x=744',
		'title': '',
		'imageId': '71850272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850273&x=744',
		'title': '',
		'imageId': '71850273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850288&x=744',
		'title': '',
		'imageId': '71850288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850271&x=744',
		'title': '',
		'imageId': '71850271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850274&x=744',
		'title': '',
		'imageId': '71850274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850270&x=744',
		'title': '',
		'imageId': '71850270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850286&x=744',
		'title': '',
		'imageId': '71850286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850284&x=744',
		'title': '',
		'imageId': '71850284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850319&x=744',
		'title': '',
		'imageId': '71850319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850290&x=744',
		'title': '',
		'imageId': '71850290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850328&x=744',
		'title': '',
		'imageId': '71850328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850327&x=744',
		'title': '',
		'imageId': '71850327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850311&x=744',
		'title': '',
		'imageId': '71850311',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850296&x=744',
		'title': '',
		'imageId': '71850296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850299&x=744',
		'title': '',
		'imageId': '71850299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850307&x=744',
		'title': '',
		'imageId': '71850307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71850308&x=744',
		'title': '',
		'imageId': '71850308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086499&docid=71866139&x=744',
		'title': '',
		'imageId': '71866139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4086499';

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