var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917631&x=2256',
		'title': '',
		'imageId': '69917631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917633&x=2256',
		'title': '',
		'imageId': '69917633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917634&x=2256',
		'title': '',
		'imageId': '69917634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917635&x=2256',
		'title': '',
		'imageId': '69917635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917636&x=2256',
		'title': '',
		'imageId': '69917636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917637&x=2256',
		'title': '',
		'imageId': '69917637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917638&x=2256',
		'title': '',
		'imageId': '69917638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917639&x=2256',
		'title': '',
		'imageId': '69917639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917640&x=2256',
		'title': '',
		'imageId': '69917640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917641&x=2256',
		'title': '',
		'imageId': '69917641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917642&x=2256',
		'title': '',
		'imageId': '69917642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917643&x=2256',
		'title': '',
		'imageId': '69917643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917644&x=2256',
		'title': '',
		'imageId': '69917644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917645&x=2256',
		'title': '',
		'imageId': '69917645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917646&x=2256',
		'title': '',
		'imageId': '69917646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917647&x=2256',
		'title': '',
		'imageId': '69917647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917648&x=2256',
		'title': '',
		'imageId': '69917648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917649&x=2256',
		'title': '',
		'imageId': '69917649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917650&x=2256',
		'title': '',
		'imageId': '69917650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061472&docid=69917651&x=2256',
		'title': '',
		'imageId': '69917651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061472';

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