var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615219&x=5535',
		'title': '',
		'imageId': '69615219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615199&x=5535',
		'title': '',
		'imageId': '69615199',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615200&x=5535',
		'title': '',
		'imageId': '69615200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615197&x=5535',
		'title': '',
		'imageId': '69615197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615198&x=5535',
		'title': '',
		'imageId': '69615198',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615206&x=5535',
		'title': '',
		'imageId': '69615206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615210&x=5535',
		'title': '',
		'imageId': '69615210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615217&x=5535',
		'title': '',
		'imageId': '69615217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615196&x=5535',
		'title': '',
		'imageId': '69615196',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615209&x=5535',
		'title': '',
		'imageId': '69615209',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615231&x=5535',
		'title': '',
		'imageId': '69615231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615236&x=5535',
		'title': '',
		'imageId': '69615236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615218&x=5535',
		'title': '',
		'imageId': '69615218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615222&x=5535',
		'title': '',
		'imageId': '69615222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615228&x=5535',
		'title': '',
		'imageId': '69615228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615227&x=5535',
		'title': '',
		'imageId': '69615227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615237&x=5535',
		'title': '',
		'imageId': '69615237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615241&x=5535',
		'title': '',
		'imageId': '69615241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995615&docid=69615201&x=5535',
		'title': '',
		'imageId': '69615201',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995615';

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