var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162343&x=1747',
		'title': '',
		'imageId': '70162343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162340&x=1747',
		'title': '',
		'imageId': '70162340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162328&x=1747',
		'title': '',
		'imageId': '70162328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162337&x=1747',
		'title': '',
		'imageId': '70162337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162329&x=1747',
		'title': '',
		'imageId': '70162329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162334&x=1747',
		'title': '',
		'imageId': '70162334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162327&x=1747',
		'title': '',
		'imageId': '70162327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162338&x=1747',
		'title': '',
		'imageId': '70162338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162339&x=1747',
		'title': '',
		'imageId': '70162339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162326&x=1747',
		'title': '',
		'imageId': '70162326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162336&x=1747',
		'title': '',
		'imageId': '70162336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162331&x=1747',
		'title': '',
		'imageId': '70162331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162347&x=1747',
		'title': '',
		'imageId': '70162347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162345&x=1747',
		'title': '',
		'imageId': '70162345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162344&x=1747',
		'title': '',
		'imageId': '70162344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162342&x=1747',
		'title': '',
		'imageId': '70162342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162335&x=1747',
		'title': '',
		'imageId': '70162335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162332&x=1747',
		'title': '',
		'imageId': '70162332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162333&x=1747',
		'title': '',
		'imageId': '70162333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162341&x=1747',
		'title': '',
		'imageId': '70162341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162346&x=1747',
		'title': '',
		'imageId': '70162346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017189&docid=70162330&x=1747',
		'title': '',
		'imageId': '70162330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017189';

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