var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470429&x=1918',
		'title': '',
		'imageId': '66470429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470451&x=1918',
		'title': '',
		'imageId': '66470451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470473&x=1918',
		'title': '',
		'imageId': '66470473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470482&x=1918',
		'title': '',
		'imageId': '66470482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470493&x=1918',
		'title': '',
		'imageId': '66470493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470521&x=1918',
		'title': '',
		'imageId': '66470521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470536&x=1918',
		'title': '',
		'imageId': '66470536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470570&x=1918',
		'title': '',
		'imageId': '66470570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470617&x=1918',
		'title': '',
		'imageId': '66470617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470629&x=1918',
		'title': '',
		'imageId': '66470629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470641&x=1918',
		'title': '',
		'imageId': '66470641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470642&x=1918',
		'title': '',
		'imageId': '66470642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470690&x=1918',
		'title': '',
		'imageId': '66470690',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470691&x=1918',
		'title': '',
		'imageId': '66470691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470692&x=1918',
		'title': '',
		'imageId': '66470692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470693&x=1918',
		'title': '',
		'imageId': '66470693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470694&x=1918',
		'title': '',
		'imageId': '66470694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470695&x=1918',
		'title': '',
		'imageId': '66470695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470696&x=1918',
		'title': '',
		'imageId': '66470696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862661&docid=66470697&x=1918',
		'title': '',
		'imageId': '66470697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3862661';

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