var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850749&x=350',
		'title': '',
		'imageId': '71850749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850750&x=350',
		'title': '',
		'imageId': '71850750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850769&x=350',
		'title': '',
		'imageId': '71850769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850703&x=350',
		'title': '',
		'imageId': '71850703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850704&x=350',
		'title': '',
		'imageId': '71850704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850705&x=350',
		'title': '',
		'imageId': '71850705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850707&x=350',
		'title': '',
		'imageId': '71850707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850706&x=350',
		'title': '',
		'imageId': '71850706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850708&x=350',
		'title': '',
		'imageId': '71850708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850721&x=350',
		'title': '',
		'imageId': '71850721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850722&x=350',
		'title': '',
		'imageId': '71850722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850723&x=350',
		'title': '',
		'imageId': '71850723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850725&x=350',
		'title': '',
		'imageId': '71850725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850726&x=350',
		'title': '',
		'imageId': '71850726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850727&x=350',
		'title': '',
		'imageId': '71850727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850740&x=350',
		'title': '',
		'imageId': '71850740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850742&x=350',
		'title': '',
		'imageId': '71850742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850743&x=350',
		'title': '',
		'imageId': '71850743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850748&x=350',
		'title': '',
		'imageId': '71850748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086425&docid=71850759&x=350',
		'title': '',
		'imageId': '71850759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4086425';

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