var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715503&x=5724',
		'title': '',
		'imageId': '69715503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715501&x=5724',
		'title': '',
		'imageId': '69715501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715515&x=5724',
		'title': '',
		'imageId': '69715515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715500&x=5724',
		'title': '',
		'imageId': '69715500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715518&x=5724',
		'title': '',
		'imageId': '69715518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715519&x=5724',
		'title': '',
		'imageId': '69715519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715520&x=5724',
		'title': '',
		'imageId': '69715520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715504&x=5724',
		'title': '',
		'imageId': '69715504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715502&x=5724',
		'title': '',
		'imageId': '69715502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715512&x=5724',
		'title': '',
		'imageId': '69715512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715505&x=5724',
		'title': '',
		'imageId': '69715505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715507&x=5724',
		'title': '',
		'imageId': '69715507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715517&x=5724',
		'title': '',
		'imageId': '69715517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715506&x=5724',
		'title': '',
		'imageId': '69715506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715508&x=5724',
		'title': '',
		'imageId': '69715508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715516&x=5724',
		'title': '',
		'imageId': '69715516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715509&x=5724',
		'title': '',
		'imageId': '69715509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715513&x=5724',
		'title': '',
		'imageId': '69715513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715511&x=5724',
		'title': '',
		'imageId': '69715511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715510&x=5724',
		'title': '',
		'imageId': '69715510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=69715514&x=5724',
		'title': '',
		'imageId': '69715514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=59270692&x=5724',
		'title': '',
		'imageId': '59270692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999010&docid=59270691&x=5724',
		'title': '',
		'imageId': '59270691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999010';

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